aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-08 23:21:08 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-08 23:21:08 +0800
commita0d8c844eb4d872f8933b65ae4d01d14d7a85e8e (patch)
tree864c46b30ad96bc72ed7ded57c936098cb20a510
parent8fb68aef28dd7105dc5babd5ddd91be72cb14ac5 (diff)
downloadfreebsd-ports-gnome-a0d8c844eb4d872f8933b65ae4d01d14d7a85e8e.tar.gz
freebsd-ports-gnome-a0d8c844eb4d872f8933b65ae4d01d14d7a85e8e.tar.zst
freebsd-ports-gnome-a0d8c844eb4d872f8933b65ae4d01d14d7a85e8e.zip
- Switch to options helpers
Approved by: portmgr blanket
-rw-r--r--devel/libchipcard/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/libchipcard/Makefile b/devel/libchipcard/Makefile
index 0b93f494a839..7edd06ac4b19 100644
--- a/devel/libchipcard/Makefile
+++ b/devel/libchipcard/Makefile
@@ -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>