summaryrefslogtreecommitdiff
path: root/devel/libatomic_ops
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-01 16:20:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-01 16:20:47 +0000
commitc7e624b3210627ca07b51be84044b2e269762e53 (patch)
tree48fdd1f0d0902abb3a399e525fb6d85182e9d9ab /devel/libatomic_ops
parent- Switch to options helpers (diff)
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'devel/libatomic_ops')
-rw-r--r--devel/libatomic_ops/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/libatomic_ops/Makefile b/devel/libatomic_ops/Makefile
index 17f54ef03bdf..2c5ac3d05b87 100644
--- a/devel/libatomic_ops/Makefile
+++ b/devel/libatomic_ops/Makefile
@@ -19,20 +19,19 @@ USES= libtool pathfix
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
# Inhibit installation of extra copy of GPL
@${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
${WRKSRC}/Makefile.in
-.if ${PORT_OPTIONS:MDOCS}
+
+post-patch-DOCS-on:
# Fix documentation installation directory
@${REINPLACE_CMD} -e 's,pkgdata,pkgdoc,g ; s,(datadir.*,(docdir),' \
${WRKSRC}/doc/Makefile.in
-.else
+
+post-patch-DOCS-off:
# If documentation is not wanted, just disable it instead of fixing
@${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
${WRKSRC}/doc/Makefile.in
-.endif
.include <bsd.port.mk>