aboutsummaryrefslogtreecommitdiff
path: root/net/nmsg
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2015-08-22 00:56:39 +0000
committerDon Lewis <truckman@FreeBSD.org>2015-08-22 00:56:39 +0000
commit1636cc24a52b904f9a829e5cc9fa68f496c455fb (patch)
tree9b150000c3db98aaa3b14a1913be7c6da05e8cfc /net/nmsg
parenta3a0b42872d4e8889540c6644ecb4a65c07ab04f (diff)
downloadports-1636cc24a52b904f9a829e5cc9fa68f496c455fb.tar.gz
ports-1636cc24a52b904f9a829e5cc9fa68f496c455fb.zip
Use option helpers and nuke the FreeBSD 8 binutils workaround. This
allows the inclusion of bsd.port.options.mk to be eliminated. Sponsored by: Farsight Security, Inc.
Notes
Notes: svn path=/head/; revision=395006
Diffstat (limited to 'net/nmsg')
-rw-r--r--net/nmsg/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index 1e3794f13196..08e6add8e74d 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -40,24 +40,13 @@ MANPAGES_BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
${DOCBOOK_XSL_NS}:${PORTSDIR}/textproc/docbook-xsl-ns
MANPAGES_CONFIGURE_WITH= xsltproc
-.include <bsd.port.options.mk>
-
-# The version of binutils in base does not understand the crc32
-# instructions used in this code on amd64. Use gcc from ports
-# to get a more capable version of binutils.
-.if (${OSVERSION} < 900000 && ${ARCH} == amd64)
-USE_GCC= yes
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-install-DOXYGEN-on:
(cd ${WRKSRC}/doc/doxygen && \
${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && \
${INSTALL_DATA} *.c *.py ${STAGEDIR}${EXAMPLESDIR})
-.endif
.include <bsd.port.mk>