svn commit: r367699 - head/japanese/ng-devel

John Marino marino at FreeBSD.org
Mon Sep 8 20:41:28 UTC 2014


Author: marino
Date: Mon Sep  8 20:41:27 2014
New Revision: 367699
URL: http://svnweb.freebsd.org/changeset/ports/367699
QAT: https://qat.redports.org/buildarchive/r367699/

Log:
  Stage japanese/ng-devel
  
  PR:		193161
  Submitted by:	Ports Fury

Deleted:
  head/japanese/ng-devel/pkg-plist
Modified:
  head/japanese/ng-devel/Makefile
  head/japanese/ng-devel/pkg-descr

Modified: head/japanese/ng-devel/Makefile
==============================================================================
--- head/japanese/ng-devel/Makefile	Mon Sep  8 20:38:40 2014	(r367698)
+++ head/japanese/ng-devel/Makefile	Mon Sep  8 20:41:27 2014	(r367699)
@@ -2,30 +2,42 @@
 # $FreeBSD$
 
 PORTNAME=	ng
-PORTVERSION=	1.5.b1
+DISTVERSION=	1.5beta1
 CATEGORIES=	japanese editors
-MASTER_SITES=	http://tomato.sakura.ne.jp/~amura/archives/ng/
-DISTNAME=	${PORTNAME}-1.5beta1
+MASTER_SITES=	http://tt.sakura.ne.jp/~amura/archives/ng/
+PKGNAMESUFFIX=	-devel
 
-MAINTAINER?=	ports at FreeBSD.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Light Emacs-clone with Japanese support
 
-ALL_TARGET=	ng
 GNU_CONFIGURE=	yes
+ALL_TARGET=	ng
+
+CFLAGS+=	-Wno-error=return-type
 
-MYPORTDOCS=	CHANGES.1_3 CHANGES.1_4 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \
-		README.Ng README.SKG
-PKGNAMESUFFIX=	-devel
 DOCSDIR=	${PREFIX}/share/doc/ja/${PORTNAME}
 
-NO_STAGE=	yes
+CONFLICTS=	ng-[0-9]*
+
+PORTDOCS=	${MYPORTDOCS:S/$/.euc-jp/}
+PLIST_FILES=	bin/ng
+
+OPTIONS_DEFINE=	CANNA DOCS
+
+CANNA_DESC=		Canna support
+CANNA_LIB_DEPENDS=	libcanna.so:${PORTSDIR}/japanese/canna-lib
+CANNA_CONFIGURE_ON=	--enable-canna=${LOCALBASE}
+
+MYPORTDOCS=	CHANGES.1_3 CHANGES.1_4 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 <bsd.port.mk>

Modified: head/japanese/ng-devel/pkg-descr
==============================================================================
--- head/japanese/ng-devel/pkg-descr	Mon Sep  8 20:38:40 2014	(r367698)
+++ head/japanese/ng-devel/pkg-descr	Mon Sep  8 20:41:27 2014	(r367699)
@@ -1,13 +1,10 @@
-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 is a very light weight Emacs clone editor, written in C.  It doesn't
+have Lisp, so only limited customization is possible. Since you can invoke
+it very quickly (compared with real GNU Emacs), it is particularly useful
+for editing files that only require small changes.
 
+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/


More information about the svn-ports-head mailing list