1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Thomas Zander 2014-06-29 07:58:02 +00:00
parent d84b82ca27
commit 9ba75e3d60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359739
3 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Gstreamer ZBar barcode detector plugin

View File

@ -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:

View File

@ -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