aboutsummaryrefslogtreecommitdiff
path: root/comms/scmxx
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/scmxx
parent7796094ddfe2830f75237ae54c7edf21e9033350 (diff)
downloadports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.tar.gz
ports-fbd9122a40a8aef04301c3d176bb2573a5e66fa6.zip
Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
Notes
Notes: svn path=/head/; revision=338555
Diffstat (limited to 'comms/scmxx')
-rw-r--r--comms/scmxx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index c795caa7ee0a..0d2fcc08dacd 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -24,6 +24,9 @@ DOCS= README docs/*.txt
EXAMPLES= sms.txt vCalendar.vcs vCard.vcf
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-patch:
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \
${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g"
@@ -31,7 +34,7 @@ post-patch:
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
+..if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif