freebsd-ports/x11-themes/kdeartwork4/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

33 lines
1 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= kdeartwork
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= x11-themes kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Artworks Themes
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3
USE_KDE4= kdelibs kdeprefix libkexiv2 workspace automoc4
USES= cmake:outsource tar:xz
USE_QT4= corelib gui opengl \
moc_build qmake_build rcc_build uic_build
USE_XORG= x11 xt
OPTIONS_DEFINE= GNOME
GNOME_DESC= Use Gnome screensavers
GNOME_BUILD_DEPENDS= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:x11/xscreensaver-gnome
GNOME_RUN_DEPENDS= ${GNOME_BUILD_DEPENDS}
GNOME_BUILD_DEPENDS_OFF= xscreensaver:x11/xscreensaver
GNOME_RUN_DEPENDS_OFF= ${GNOME_BUILD_DEPENDS_OFF}
post-patch:
${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}|g' \
-e 's|/usr/share|${LOCALBASE}/share|g' \
${PATCH_WRKSRC}/cmake/modules/FindXscreensaver.cmake
.include <bsd.port.mk>