ports/175193: [MAINTAINER] japanese/eb: adopt OptionsNG

KIMURA Yasuhiro yasu at utahime.org
Fri Jan 11 14:04:46 UTC 2013


License information is added. So please commit attached patch instead
of original one.

Regards.

-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 310228)
+++ Makefile	(working copy)
@@ -13,6 +13,9 @@
 MAINTAINER=	yasu at utahime.org
 COMMENT=	C library for accessing EB, EBG, EBXA, and EPWING CD-ROM dictionaries
 
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 EBFILES=	${DISTNAME}${EXTRACT_SUFX}
 APPENDIXFILES=	appendix/cencro-1.0.tar.gz \
 		appendix/chujiten-2.3.tar.gz \
@@ -68,9 +71,14 @@
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pkgdocdir=${DOCSDIR}
 
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFAULT=	DOCS NLS
+
 APPENDIXDIR=	${DATADIR}/appendix
 
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=	--enable-nls \
 		--with-gettext-includes=${LOCALBASE}/include \
@@ -92,7 +100,7 @@
 
 post-install:
 	${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for doc in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}


More information about the freebsd-ports-bugs mailing list