aboutsummaryrefslogtreecommitdiff
path: root/graphics/zbar
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2011-08-30 22:24:52 +0000
committerPawel Pekala <pawel@FreeBSD.org>2011-08-30 22:24:52 +0000
commitec522edfb2d472b1ee09a702237444e7135a396c (patch)
tree4678541486490be4d403d3ac80ffec09c061bf8a /graphics/zbar
parent715ee5058b3636608e45816cdaba6a228d98be0d (diff)
downloadports-ec522edfb2d472b1ee09a702237444e7135a396c.tar.gz
ports-ec522edfb2d472b1ee09a702237444e7135a396c.zip
- fix plist [1]
- restrict python versions to 2.5-2.7 [1] - add x11-toolkits/py-gtk2 build/run dep for WITH_PYTHON [2] - add devel/qt4-moc build dep for WITH_QT4 [2] PR: ports/160182 Submitted by: [1] Oliver Heesakkers <dev2@heesakkers.info> (maintainer) [2] myself Approved by: miwi, wen (mentors implicit)
Notes
Notes: svn path=/head/; revision=280791
Diffstat (limited to 'graphics/zbar')
-rw-r--r--graphics/zbar/Makefile7
-rw-r--r--graphics/zbar/pkg-plist4
2 files changed, 6 insertions, 5 deletions
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
index fab58ffcaf93..de7d7e54ba15 100644
--- a/graphics/zbar/Makefile
+++ b/graphics/zbar/Makefile
@@ -65,7 +65,8 @@ PLIST_SUB+= V4L="@comment "
.endif
.if defined(WITH_PYTHON)
-USE_PYTHON= any
+USE_PYTHON= 2.5-2.7
+USE_GNOME+= pygtk2
CONFIGURE_ARGS+= --with-python=yes
PLIST_SUB+= PYTHON=""
.else
@@ -74,7 +75,7 @@ PLIST_SUB+= PYTHON="@comment "
.endif
.if defined(WITH_GTK2)
-USE_GNOME= gtk20
+USE_GNOME+= gtk20
CONFIGURE_ARGS+= --with-gtk=yes
PLIST_SUB+= GTK2=""
.else
@@ -84,7 +85,7 @@ PLIST_SUB+= GTK2="@comment "
.if defined(WITH_QT4)
USE_QT_VER= 4
-QT_COMPONENTS= gui
+QT_COMPONENTS= gui moc_build
CONFIGURE_ARGS+= --with-qt=yes
PLIST_SUB+= QT4=""
.else
diff --git a/graphics/zbar/pkg-plist b/graphics/zbar/pkg-plist
index 02545a97c0e2..fbe05041a2c9 100644
--- a/graphics/zbar/pkg-plist
+++ b/graphics/zbar/pkg-plist
@@ -39,7 +39,7 @@ libdata/pkgconfig/zbar.pc
%%PORTDOCS%%%%DOCSDIR%%/TODO
@dirrmtry share/zbar
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry lib/python2.6/site-packages
-@dirrmtry lib/python2.6
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry lib/%%PYTHON_VERSION%%
@dirrmtry lib/pkgconfig
@dirrm include/zbar