Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 15:21:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403282 - head/devel/libchipcard
Message-ID:  <201512081521.tB8FL8q8036145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081521.tB8FL8q8036145>