aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-19 12:32:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-19 12:32:50 +0000
commit06106fcf551381dcf3d4efb09ca4f4cd34ec7a63 (patch)
tree067359d0a21c9fa255c5268b4b6ebd640fa629db /x11-themes
parentf5049b6aeff70e80494f851d7be535ef42c91085 (diff)
downloadports-06106fcf551381dcf3d4efb09ca4f4cd34ec7a63.tar.gz
ports-06106fcf551381dcf3d4efb09ca4f4cd34ec7a63.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/kdeartwork4/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-themes/kdeartwork4/Makefile b/x11-themes/kdeartwork4/Makefile
index 6b6791ead54d..f8a26b796aed 100644
--- a/x11-themes/kdeartwork4/Makefile
+++ b/x11-themes/kdeartwork4/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdeartwork
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= x11-themes kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,9 +15,6 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Artworks Themes
-BUILD_DEPENDS= xscreensaver:${PORTSDIR}/x11/xscreensaver
-RUN_DEPENDS= xscreensaver:${PORTSDIR}/x11/xscreensaver
-
LATEST_LINK= ${PORTNAME}4
USE_BZIP2= yes
@@ -25,6 +23,18 @@ USE_KDE4= kdelibs workspace kdeprefix kdehier automoc4
KDE4_BUILDENV= yes
QT_COMPONENTS= opengl gui moc rcc uic svg qt3support
+OPTIONS= GNOME "Use Gnome screensavers" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GNOME)
+BUILD_DEPENDS+= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
+RUN_DEPENDS+= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
+.else
+BUILD_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
+RUN_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
@@ -57,4 +67,4 @@ post-patch:
${WRKSRC}/../${item}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>