From owner-svn-ports-head@FreeBSD.ORG Mon Sep 1 20:15:31 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3923E37; Mon, 1 Sep 2014 20:15:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE5151C92; Mon, 1 Sep 2014 20:15:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s81KFVnt038860; Mon, 1 Sep 2014 20:15:31 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s81KFVOB038855; Mon, 1 Sep 2014 20:15:31 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201409012015.s81KFVOB038855@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Mon, 1 Sep 2014 20:15:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366951 - in head/japanese: ng ng-canna X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 20:15:31 -0000 Author: bapt Date: Mon Sep 1 20:15:30 2014 New Revision: 366951 URL: http://svnweb.freebsd.org/changeset/ports/366951 QAT: https://qat.redports.org/buildarchive/r366951/ Log: Resurrect ng-canna and stage it Stage ng PR: 193160 Submitted by: Ports fury Added: head/japanese/ng-canna/ - copied from r366898, head/japanese/ng-canna/ Modified: head/japanese/ng-canna/Makefile head/japanese/ng/Makefile head/japanese/ng/pkg-descr Modified: head/japanese/ng-canna/Makefile ============================================================================== --- head/japanese/ng-canna/Makefile Mon Sep 1 16:34:26 2014 (r366898) +++ head/japanese/ng-canna/Makefile Mon Sep 1 20:15:30 2014 (r366951) @@ -10,7 +10,6 @@ MASTERDIR= ${.CURDIR}/../ng DESCR= ${.CURDIR}/pkg-descr -WITH_CANNA= yes +OPTIONS_SLAVE= CANNA -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/japanese/ng/Makefile ============================================================================== --- head/japanese/ng/Makefile Mon Sep 1 20:09:03 2014 (r366950) +++ head/japanese/ng/Makefile Mon Sep 1 20:15:30 2014 (r366951) @@ -5,7 +5,7 @@ PORTNAME= ng PORTVERSION= 1.4.4 PORTREVISION= 2 CATEGORIES= japanese editors -MASTER_SITES= http://tomato.sakura.ne.jp/~amura/archives/ng/ +MASTER_SITES= http://tt.sakura.ne.jp/~amura/archives/ng/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= ng-1.4.4-replace_bug.patch @@ -13,39 +13,37 @@ PATCHFILES= ng-1.4.4-replace_bug.patch MAINTAINER?= ports@FreeBSD.org COMMENT?= Light Emacs-clone with Japanese support -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}" -LIBS= -ltermcap - +MAKEFILE= sys/sysv/Makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LDFLAGS}" ALL_TARGET= ng +CFLAGS+= -Wno-error=return-type +LDFLAGS+= -ltermcap + DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} -MYPORTDOCS= CHANGES.1_3 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \ - README.Ng README.SKG -PORTDOCS= ${MYPORTDOCS:C/$/.euc-jp/} +CONFLICTS= ng-devel-[0-9]* +PORTDOCS= ${MYPORTDOCS:C/$/.euc-jp/} PLIST_FILES= bin/ng -NO_STAGE= yes -.include - -.if defined(WITH_CANNA) -LIB_DEPENDS+= libcanna.so:${PORTSDIR}/japanese/canna-lib +OPTIONS_DEFINE= CANNA DOCS -CFLAGS+= -I${LOCALBASE}/include -DCANNA -LIBS+= -L${LOCALBASE}/lib -lcanna -.endif +CANNA_DESC= Canna support +CANNA_LIB_DEPENDS= libcanna.so:${PORTSDIR}/japanese/canna-lib +CANNA_CFLAGS= -I${LOCALBASE}/include -DCANNA +CANNA_LDFLAGS= -L${LOCALBASE}/lib -lcanna -post-patch: - @(cd ${WRKSRC}; ${LN} -sf sys/sysv/Makefile . ) +MYPORTDOCS= CHANGES.1_3 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \ + README.Ng README.SKG do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for file in ${MYPORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}/${file}.euc-jp + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ng \ + ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${MYPORTDOCS} + (cd ${WRKSRC}/docs && ${INSTALL_DATA} ${i} \ + ${STAGEDIR}${DOCSDIR}/${i:S/$/.euc-jp/}) .endfor -.endif -.include +.include Modified: head/japanese/ng/pkg-descr ============================================================================== --- head/japanese/ng/pkg-descr Mon Sep 1 20:09:03 2014 (r366950) +++ head/japanese/ng/pkg-descr Mon Sep 1 20:15:30 2014 (r366951) @@ -1,13 +1,11 @@ -Ng is a very light weight Emacs clone editor, written in C. -It doesn't have Lisp(that means very limited customization -is available). Since you can invoke it very quickly -(compared with real GNU Emacs), it is useful in dealing with -changing small file a bit. +Ng is a very light weight Emacs clone editor, written in C. It doesn't +have Lisp(that means very limited customization is available). Since you +can invoke it very quickly (compared with real GNU Emacs), it is useful +in dealing with changing small file a bit. -Ng(Nihongo Micro Gnu Emacs) is a Mg(Micro Gnu Emacs)'s -japanese port. Ng supports EUC, JIS and SJIS code. -Ng also have (rather simple) C-mode. +Ng(Nihongo Micro Gnu Emacs) is a Mg(Micro Gnu Emacs)'s japanese port. +Ng supports EUC, JIS and SJIS code. Ng also have (rather simple) C-mode. It is also very useful even if you don't need Japanese support. -WWW: http://tomato.sakura.ne.jp/~amura/ng/ +WWW: http://tt.sakura.ne.jp/~amura/ng/