diff options
author | kwm <kwm@FreeBSD.org> | 2014-06-28 01:26:36 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-06-28 01:26:36 +0800 |
commit | 36ebd7df3d6308538b94cfc7d9aef89182b2cab6 (patch) | |
tree | 5ccced3a70d8ded8d0c6f52217bdc10f285d1fa6 /graphics/zbar | |
parent | a17a5bf58e4f0e0bba31df8ea33294b4c293b26e (diff) | |
download | freebsd-ports-gnome-36ebd7df3d6308538b94cfc7d9aef89182b2cab6.tar.gz freebsd-ports-gnome-36ebd7df3d6308538b94cfc7d9aef89182b2cab6.tar.zst freebsd-ports-gnome-36ebd7df3d6308538b94cfc7d9aef89182b2cab6.zip |
Stagify
use new lib_depend syntax.
replace empty() with !
Approved by: portmgr (blanket)
Diffstat (limited to 'graphics/zbar')
-rw-r--r-- | graphics/zbar/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile index cbb65aaec4b2..a312dd9eee4a 100644 --- a/graphics/zbar/Makefile +++ b/graphics/zbar/Makefile @@ -12,7 +12,7 @@ COMMENT= ZBar barcode reader LICENSE= LGPL21 -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -24,7 +24,6 @@ OPTIONS_DEFINE= X11 IMAGEMAGICK V4L PYTHON GTK2 QT4 OPTIONS_DEFAULT= X11 IMAGEMAGICK V4L_DESC= Build zbarcam video scanner -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MX11} @@ -88,7 +87,7 @@ post-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure @${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} '/^install-data-am: /s/install-dist_docDATA//' \ ${WRKSRC}/Makefile.in .endif |