mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
5fee62d310
commit
05ad8d8a36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403282
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user