From fbd9122a40a8aef04301c3d176bb2573a5e66fa6 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 3 Jan 2014 16:06:00 +0000 Subject: Convert comms to MDOCS and MEXAMPLES. Hold-out shame list: perl --- comms/scmxx/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'comms/scmxx') 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 + 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 -- cgit v1.2.3