- Switch to options helpers
- Fix WWW:
This commit is contained in:
parent
1ddc8724f8
commit
58bc92642b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423686
2 changed files with 5 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue