svn commit: r395471 - head/math/cmlib
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Aug 28 13:08:24 UTC 2015
Author: amdmi3
Date: Fri Aug 28 13:08:23 2015
New Revision: 395471
URL: https://svnweb.freebsd.org/changeset/ports/395471
Log:
- Add missing DOCS option
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/math/cmlib/Makefile
Modified: head/math/cmlib/Makefile
==============================================================================
--- head/math/cmlib/Makefile Fri Aug 28 13:05:56 2015 (r395470)
+++ head/math/cmlib/Makefile Fri Aug 28 13:08:23 2015 (r395471)
@@ -25,7 +25,7 @@ SRCCONF= /dev/null
MAKE_ENV+= LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
SRCCONF="${SRCCONF}"
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
${CP} ${_DISTDIR}/[dir]1mach.f ${WRKSRC}/src/machcon
@@ -44,10 +44,8 @@ post-patch:
do-install:
${INSTALL_DATA} ${WRKSRC}/libcm.a ${STAGEDIR}${PREFIX}/lib
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list