aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-19 20:32:50 +0800
committermiwi <miwi@FreeBSD.org>2008-08-19 20:32:50 +0800
commit27f9cb3f59efc5045a18ce91647f9a32ed34fff3 (patch)
tree6890c2997187cf6ca3fbf03fbb2d16ab35e4c147 /x11-themes
parent7e0409cafc930761ff0a56bc3074c7d3b0fcf2d2 (diff)
downloadfreebsd-ports-gnome-27f9cb3f59efc5045a18ce91647f9a32ed34fff3.tar.gz
freebsd-ports-gnome-27f9cb3f59efc5045a18ce91647f9a32ed34fff3.tar.zst
freebsd-ports-gnome-27f9cb3f59efc5045a18ce91647f9a32ed34fff3.zip
- Add option to allow choice between x11/xscreensaver and x11/xscreensaver-gnome
- Bump PORTREVISION PR: based on 126643
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>