aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-11 03:33:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-11 03:33:15 +0800
commit9721d33548b0c47369aa0797b76938d25e2cfcdf (patch)
tree1d9d6638b00557b9cbce9fd84a04fed3eb4bea5c /devel
parent85f586e3193d9c523555401744fbca7b7f8a66f8 (diff)
downloadfreebsd-ports-gnome-9721d33548b0c47369aa0797b76938d25e2cfcdf.tar.gz
freebsd-ports-gnome-9721d33548b0c47369aa0797b76938d25e2cfcdf.tar.zst
freebsd-ports-gnome-9721d33548b0c47369aa0797b76938d25e2cfcdf.zip
- Switch to options helpers
- Fix WWW:
Diffstat (limited to 'devel')
-rw-r--r--devel/afay/Makefile10
-rw-r--r--devel/afay/pkg-descr2
2 files changed, 5 insertions, 7 deletions
diff --git a/devel/afay/Makefile b/devel/afay/Makefile
index f14b6b46005a..479c867ab51d 100644
--- a/devel/afay/Makefile
+++ b/devel/afay/Makefile
@@ -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>
diff --git a/devel/afay/pkg-descr b/devel/afay/pkg-descr
index 18e2b9deefcc..bf86cf641874 100644
--- a/devel/afay/pkg-descr
+++ b/devel/afay/pkg-descr
@@ -4,4 +4,4 @@ unit A.B.C to be the parent of the generated lexer/parser.
Aflex/Ayacc are copyrighted by the The University of California.
-WWW: http://thiberlog.free.fr
+WWW: http://thiberlog.free.fr/