aboutsummaryrefslogtreecommitdiff
path: root/graphics/zbar
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-06-29 07:58:02 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-06-29 07:58:02 +0000
commit9ba75e3d60107391e16da15d7f52ee0cca86227a (patch)
tree8aec2e4c09254b8a2e3096565923b8676949c13c /graphics/zbar
parentd84b82ca27396d4a425d81ac943a8d1a9a22cd3b (diff)
- Fix build/staging of graphics/zbar for all permutations of OPTIONS
- CPPFLAGS - Get rid of MAN1 - Fix pkg-plist - Introduce USES=libtool - Bump PORTREVISION including dependent ports that need rebuild PR: 187923 Submitted by: kamikaze@bsdforen.de Reviewed by: Oliver Heesakkers <dev2@heesakkers.info> (maintainer) Approved by: maintainer, mentors (implicit)
Notes
Notes: svn path=/head/; revision=359739
Diffstat (limited to 'graphics/zbar')
-rw-r--r--graphics/zbar/Makefile7
-rw-r--r--graphics/zbar/pkg-plist12
2 files changed, 9 insertions, 10 deletions
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
index a312dd9eee4a..50509965995c 100644
--- a/graphics/zbar/Makefile
+++ b/graphics/zbar/Makefile
@@ -3,7 +3,7 @@
PORTNAME= zbar
PORTVERSION= 0.10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF
@@ -16,7 +16,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= iconv gmake pkgconfig
+USES= iconv libtool gmake pkgconfig
CONFIGURE_ARGS= --with-jpeg=yes
@@ -37,7 +37,6 @@ CONFIGURE_ARGS+= --with-x=no --without-xshm --without-xv
LIB_DEPENDS+= libMagick++-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
CONFIGURE_ARGS+= --with-imagemagick=yes
PLIST_SUB+= IMAGEMAGICK=""
-MAN1= zbarimg.1
.else
CONFIGURE_ARGS+= --with-imagemagick=no
PLIST_SUB+= IMAGEMAGICK="@comment "
@@ -47,7 +46,6 @@ PLIST_SUB+= IMAGEMAGICK="@comment "
BUILD_DEPENDS+= v4l_compat>=1.0.20101027:${PORTSDIR}/multimedia/v4l_compat
CONFIGURE_ARGS+= --enable-video=yes
PLIST_SUB+= V4L=""
-MAN1+= zbarcam.1
.else
CONFIGURE_ARGS+= --enable-video=no
PLIST_SUB+= V4L="@comment "
@@ -81,6 +79,7 @@ CONFIGURE_ARGS+= --with-qt=no
PLIST_SUB+= QT4="@comment "
.endif
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
diff --git a/graphics/zbar/pkg-plist b/graphics/zbar/pkg-plist
index fd9b34065d8f..89b8830c8c1e 100644
--- a/graphics/zbar/pkg-plist
+++ b/graphics/zbar/pkg-plist
@@ -14,23 +14,23 @@ include/zbar/Video.h
include/zbar/Window.h
%%GTK2%%include/zbar/zbargtk.h
lib/libzbar.a
-lib/libzbar.la
lib/libzbar.so
-lib/libzbar.so.2
+lib/libzbar.so.0
+lib/libzbar.so.0.2.0
%%GTK2%%lib/libzbargtk.a
-%%GTK2%%lib/libzbargtk.la
%%GTK2%%lib/libzbargtk.so
%%GTK2%%lib/libzbargtk.so.0
+%%GTK2%%lib/libzbargtk.so.0.0.2
%%QT4%%lib/libzbarqt.a
-%%QT4%%lib/libzbarqt.la
%%QT4%%lib/libzbarqt.so
%%QT4%%lib/libzbarqt.so.0
+%%QT4%%lib/libzbarqt.so.0.0.2
%%GTK2%%libdata/pkgconfig/zbar-gtk.pc
%%QT4%%libdata/pkgconfig/zbar-qt.pc
libdata/pkgconfig/zbar.pc
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/zbar.la
+%%V4L%%man/man1/zbarcam.1.gz
+%%IMAGEMAGICK%%man/man1/zbarimg.1.gz
%%PYTHON%%%%PYTHON_SITELIBDIR%%/zbar.so
-%%PYTHON%%%%GTK2%%%%PYTHON_SITELIBDIR%%/zbarpygtk.la
%%PYTHON%%%%GTK2%%%%PYTHON_SITELIBDIR%%/zbarpygtk.so
%%PORTDOCS%%%%DOCSDIR%%/HACKING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL