Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 19:33:15 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423686 - head/devel/afay
Message-ID:  <201610101933.u9AJXFA8033966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 10 19:33:15 2016
New Revision: 423686
URL: https://svnweb.freebsd.org/changeset/ports/423686

Log:
  - Switch to options helpers
  - Fix WWW:

Modified:
  head/devel/afay/Makefile
  head/devel/afay/pkg-descr

Modified: head/devel/afay/Makefile
==============================================================================
--- head/devel/afay/Makefile	Mon Oct 10 19:33:08 2016	(r423685)
+++ head/devel/afay/Makefile	Mon Oct 10 19:33:15 2016	(r423686)
@@ -23,8 +23,6 @@ NO_WRKSUBDIR=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 do-build:
 	@(cd ${WRKSRC}/afay/aflex/src/gnat_unix && \
 		${SETENV} ${MAKE_ENV} ${SH} ./README)
@@ -38,7 +36,8 @@ do-install:
 		${STAGEDIR}${PREFIX}/man/man1/aflex.1
 	${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/old_docs/ayacc.manpage \
 		${STAGEDIR}${PREFIX}/man/man1/ayacc.1
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/READ_ME \
 		${STAGEDIR}${DOCSDIR}/READ_ME.aflex
@@ -48,8 +47,8 @@ do-install:
 		${STAGEDIR}${DOCSDIR}/READ_ME.ayacc
 	(cd ${WRKSRC}/afay/ayacc/doc && ${INSTALL_DATA} ayacc.html \
 		ayacc_user_man.tex ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ada_parser \
 		${STAGEDIR}${EXAMPLESDIR}/calc
 	(cd ${WRKSRC}/afay/aflex/doc && ${INSTALL_DATA} example.l test95.l \
@@ -63,6 +62,5 @@ do-install:
 		${STAGEDIR}${EXAMPLESDIR}/calc
 	(cd ${WRKSRC}/afay/ayacc/examples/calc && ${INSTALL_DATA} \
 		READ.ME calc* driver.a ${STAGEDIR}${EXAMPLESDIR}/calc)
-.endif
 
 .include <bsd.port.mk>

Modified: head/devel/afay/pkg-descr
==============================================================================
--- head/devel/afay/pkg-descr	Mon Oct 10 19:33:08 2016	(r423685)
+++ head/devel/afay/pkg-descr	Mon Oct 10 19:33:15 2016	(r423686)
@@ -4,4 +4,4 @@ unit A.B.C to be the parent of the gener
 
 Aflex/Ayacc are copyrighted by the The University of California.
 
-WWW: http://thiberlog.free.fr
+WWW: http://thiberlog.free.fr/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610101933.u9AJXFA8033966>