aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zbar
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 03:37:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 03:37:57 +0800
commitd84fcc9d05fffedb49b5c7dcf473b90adae2bc02 (patch)
tree0e863bf0019a9552bfcdc1412ee1f003904494ec /graphics/zbar
parent37bb36a0ce852a9d672890b270f2d34af15274b9 (diff)
downloadfreebsd-ports-gnome-d84fcc9d05fffedb49b5c7dcf473b90adae2bc02.tar.gz
freebsd-ports-gnome-d84fcc9d05fffedb49b5c7dcf473b90adae2bc02.tar.zst
freebsd-ports-gnome-d84fcc9d05fffedb49b5c7dcf473b90adae2bc02.zip
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'graphics/zbar')
-rw-r--r--graphics/zbar/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
index 4121ef8717f3..4f178c0b755a 100644
--- a/graphics/zbar/Makefile
+++ b/graphics/zbar/Makefile
@@ -52,15 +52,13 @@ QT4_CONFIGURE_OFF= --with-qt=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+
+post-patch-DOCS-off:
@${REINPLACE_CMD} '/^install-data-am: /s/install-dist_docDATA//' \
${WRKSRC}/Makefile.in
-.endif
post-install:
# make check-plist happy