diff options
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 |