diff options
author | arved <arved@FreeBSD.org> | 2004-01-05 22:53:38 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-01-05 22:53:38 +0800 |
commit | c06e00f5c8f49c07467908ca613a1339f9cba22c (patch) | |
tree | c65d5c11d11fd2aa5fa3b7b7624988ef7fb35958 /x11-toolkits | |
parent | dd753591ff5f376354b90272037db6a6674f05fa (diff) | |
download | freebsd-ports-gnome-c06e00f5c8f49c07467908ca613a1339f9cba22c.tar.gz freebsd-ports-gnome-c06e00f5c8f49c07467908ca613a1339f9cba22c.tar.zst freebsd-ports-gnome-c06e00f5c8f49c07467908ca613a1339f9cba22c.zip |
Add a WITHOUT_GTK1 knob
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qtpixmap/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/qtpixmap/pkg-plist | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/x11-toolkits/qtpixmap/Makefile b/x11-toolkits/qtpixmap/Makefile index 800fbf566d74..f1ffe90c8c13 100644 --- a/x11-toolkits/qtpixmap/Makefile +++ b/x11-toolkits/qtpixmap/Makefile @@ -13,7 +13,13 @@ DISTNAME= 7043-${PORTNAME}-${PORTVERSION} MAINTAINER= arved@FreeBSD.org COMMENT= Modifed GTK pixmap engine to obtain Theme information from Qt -USE_GNOME= gtk12 imlib gtk20 +USE_GNOME= gtk20 +.if !defined(WITHOUT_GTK1) +USE_GNOME+= gtk12 imlib +PLIST_SUB= GTK1="" +.else +PLIST_SUB= GTK1="@comment " +.endif USE_X_PREFIX= yes USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/7043-//} diff --git a/x11-toolkits/qtpixmap/pkg-plist b/x11-toolkits/qtpixmap/pkg-plist index 5463fa571f69..bc2c37b3f611 100644 --- a/x11-toolkits/qtpixmap/pkg-plist +++ b/x11-toolkits/qtpixmap/pkg-plist @@ -1,6 +1,6 @@ -lib/gtk/themes/engines/libqtpixmap.la -lib/gtk/themes/engines/libqtpixmap.so +%%GTK1%%lib/gtk/themes/engines/libqtpixmap.la +%%GTK1%%lib/gtk/themes/engines/libqtpixmap.so lib/gtk-2.0/2.2.0/engines/libqtpixmap.so lib/gtk-2.0/2.2.0/engines/libqtpixmap.la -@dirrm lib/gtk-2.0/2.2.0/engines -@dirrm lib/gtk/themes/engines +@unexec rmdir %D/lib/gtk-2.0/2.2.0/engines 2>/dev/null || true +%%GTK1%%@dirrm lib/gtk/themes/engines |