svn commit: r403282 - head/devel/libchipcard
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 8 15:21:09 UTC 2015
Author: amdmi3
Date: Tue Dec 8 15:21:08 2015
New Revision: 403282
URL: https://svnweb.freebsd.org/changeset/ports/403282
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/devel/libchipcard/Makefile
Modified: head/devel/libchipcard/Makefile
==============================================================================
--- head/devel/libchipcard/Makefile Tue Dec 8 15:20:06 2015 (r403281)
+++ head/devel/libchipcard/Makefile Tue Dec 8 15:21:08 2015 (r403282)
@@ -41,26 +41,20 @@ DOXYGEN_CONFIGURE_ENABLE= full-doc
MEMDEBUG_DESC= Enable memory debugger statistic
MEMDEBUG_CONFIGURE_ENABLE= memtrace
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|aq_endian\" ==|aq_endian\" =|g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|find chipcard|find libchipcard5|' \
${WRKSRC}/Makefile.in
-post-build:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-build-DOXYGEN-on:
@cd ${WRKSRC} && ${MAKE_CMD} srcdoc
-.endif
-post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-install-DOXYGEN-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc
cd ${WRKSRC}/apidoc && \
${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/apidoc
@${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \
${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list