# New ports collection Makefile for: kdeartwork # Date created: 2008-01-31 # Whom: Martin Wilke # # $FreeBSD$ PORTNAME= kdeartwork PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= x11-themes kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE Artworks Themes BUILD_DEPENDS= eigen>=2.0.b1:${PORTSDIR}/math/eigen2 LATEST_LINK= ${PORTNAME}4 USE_BZIP2= yes USE_KDE4= kdelibs workspace kdeprefix kdehier automoc4 KDE4_BUILDENV= yes USE_QT_VER= 4 QT_COMPONENTS= opengl gui svg qt3support \ qmake_build moc_build rcc_build uic_build MAKE_JOBS_SAFE= yes OPTIONS= GNOME "Use Gnome screensavers" off .include .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-patch: ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}|g' \ -e 's|/usr/share|${LOCALBASE}/share|g' \ ${PATCH_WRKSRC}/cmake/modules/FindXscreensaver.cmake .for item in kscreensaver/kdesavers/banner.cpp ${REINPLACE_CMD} -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||' \ ${PATCH_WRKSRC}/${item} .endfor .for item in kscreensaver/kdesavers/banner.h kscreensaver/kdesavers/blob.h\ kscreensaver/kdesavers/Euphoria.cpp ${REINPLACE_CMD} -e 's|||'\ ${PATCH_WRKSRC}/${item} .endfor .for item in kscreensaver/kdesavers/blob.cpp ${REINPLACE_CMD} -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||'\ -e 's|||' \ ${PATCH_WRKSRC}/${item} .endfor .include