aboutsummaryrefslogtreecommitdiff
path: root/comms/yfklog
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:06:00 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:06:00 +0000
commitfbd9122a40a8aef04301c3d176bb2573a5e66fa6 (patch)
tree20fb46a71453f65c9a7021567c09766245990eb3 /comms/yfklog
parent7796094ddfe2830f75237ae54c7edf21e9033350 (diff)
downloadports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.tar.gz
ports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.zip
Notes
Diffstat (limited to 'comms/yfklog')
-rw-r--r--comms/yfklog/Makefile7
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}