diff options
Diffstat (limited to 'x11-themes/kdeartwork3/Makefile')
-rw-r--r-- | x11-themes/kdeartwork3/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/x11-themes/kdeartwork3/Makefile b/x11-themes/kdeartwork3/Makefile index f043ea61dbd7..24ab8086f475 100644 --- a/x11-themes/kdeartwork3/Makefile +++ b/x11-themes/kdeartwork3/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdeartwork PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES= x11-themes kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src @@ -27,7 +28,6 @@ USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3 -KDE_BUILD_PLIST=yes .include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include <bsd.port.pre.mk> @@ -36,18 +36,22 @@ KDE_BUILD_PLIST=yes WITH_XS= yes .endif # exists(${X11BASE}/bin/xscreensaver) -.if exists(${X11BASE}/bin/screensaver-properties-capplet) +.if exists(${X11BASE}/share/gnome/control-center-2.0/capplets/screensaver-properties.desktop) WITH_XSGNOME= yes .endif # exists(${X11BASE}/bin/screensaver-properties-capplet) .if defined(WITH_XS) && !defined(WITH_XSGNOME) -BUILD_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver -PLIST_APPEND+= plist.xs +RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde .endif # defined(WITH_XS) .if defined(WITH_XSGNOME) -BUILD_DEPENDS+= screensaver-properties-capplet:${PORTSDIR}/x11/xscreensaver-gnome -PLIST_APPEND+= plist.xs +RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde .endif # defined(WITH_XSGNOME) +pre-configure: + @${REINPLACE_CMD} -e 's|kxsconfig||g' ${WRKSRC}/kscreensaver/Makefile.in + +post-configure: + @${REINPLACE_CMD} -e 's|.*XSCREENSAVER.*||g' ${WRKSRC}/config.h + .include <bsd.port.post.mk> |