summaryrefslogtreecommitdiffstats
path: root/freebsd/core/tdeartwork/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/core/tdeartwork/Makefile')
-rw-r--r--freebsd/core/tdeartwork/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/freebsd/core/tdeartwork/Makefile b/freebsd/core/tdeartwork/Makefile
new file mode 100644
index 000000000..dab51ff01
--- /dev/null
+++ b/freebsd/core/tdeartwork/Makefile
@@ -0,0 +1,54 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: core/tdeartwork
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= tdeartwork-trinity
+COMMENT= Trinity themes, styles and more
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11-themes
+DIST_SUBDIR= TDE/core
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:audio/arts-trinity \
+ ${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
+ ${TDE_PREFIX}/share/cmake/twin.cmake:x11/tdebase-trinity \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+LIB_DEPENDS+= libtqt.so:x11-toolkits/libtqtinterface \
+
+BUILD_DEPENDS+=\
+ xscreensaver:x11/xscreensaver \
+
+LIB_DEPENDS+=\
+ libGL.so:graphics/mesa-libs \
+ libGLU.so:graphics/libGLU \
+ libXss.so:x11/libXScrnSaver \
+
+
+# Build
+post-patch: tde-pathfix
+ cd ${WRKSRC}; \
+ gsed -i tdescreensaver/krootbacking/xscreensaver-getimage \
+ tdescreensaver/krootbacking/xscreensaver-getimage-file \
+ -e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON" \
+ -DWITH_ALL_INCLUDED_XSCREENSAVERS="ON" \
+ -DWITH_ARTS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>