1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- 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)
This commit is contained in:
Pawel Pekala 2011-08-30 22:24:52 +00:00
parent 715ee5058b
commit ec522edfb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280791
2 changed files with 6 additions and 5 deletions

View File

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

View File

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