diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-01-03 16:06:00 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-01-03 16:06:00 +0000 |
commit | fbd9122a40a8aef04301c3d176bb2573a5e66fa6 (patch) | |
tree | 20fb46a71453f65c9a7021567c09766245990eb3 /comms/yfklog | |
parent | 7796094ddfe2830f75237ae54c7edf21e9033350 (diff) | |
download | ports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.tar.gz ports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.zip |
Notes
Diffstat (limited to 'comms/yfklog')
-rw-r--r-- | comms/yfklog/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/comms/yfklog/Makefile b/comms/yfklog/Makefile index ad904ef9401e..4cafb8159039 100644 --- a/comms/yfklog/Makefile +++ b/comms/yfklog/Makefile @@ -26,6 +26,9 @@ NO_BUILD= yes MAN1= yfklog.1 NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \ ${WRKSRC}/yfk ${WRKSRC}/yfksubs.pl @@ -42,7 +45,7 @@ do-install: zweckform3421.lab zweckform3475.lab zweckform3657.lab config @${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR} .endfor -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR}/onlinelog .for f in README search.php test.txt @${INSTALL_DATA} ${WRKSRC}/onlinelog/$f ${EXAMPLESDIR}/onlinelog @@ -52,7 +55,7 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/clubs/$f ${EXAMPLESDIR}/clubs .endfor .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for f in AUTHORS CHANGELOG COPYING INSTALL MANUAL README RELEASENOTES @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} |