ports/175194: [MAINTAINER] japanese/eblook: adopt OntionsNG

Yasuhiro KIMURA yasu at utahime.org
Mon Jan 14 01:22:16 UTC 2013


"Created by:" header is added to Makefile. Please commit attached patch
instead of previous ones.

Regards.
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 310295)
+++ Makefile	(working copy)
@@ -1,3 +1,4 @@
+# Created by: Shigeyuki Fukushima <shige at FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	eblook
@@ -10,6 +11,9 @@
 MAINTAINER=	yasu at utahime.org
 COMMENT=	Interactive EB interface command for searching words in electronic dictionaries
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	eb:${PORTSDIR}/japanese/eb
 
 GNU_CONFIGURE=		yes
@@ -18,8 +22,13 @@
 
 INFO=		eblook
 
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	for i in AUTHORS COPYING ChangeLog NEWS README ; do \
 		${INSTALL_DATA} ${WRKSRC}/$${i} ${DOCSDIR} ;\


More information about the freebsd-ports-bugs mailing list