summaryrefslogtreecommitdiffstats
path: root/freebsd/tdeartwork/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/tdeartwork/Makefile')
-rw-r--r--freebsd/tdeartwork/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/freebsd/tdeartwork/Makefile b/freebsd/tdeartwork/Makefile
new file mode 100644
index 000000000..483a68eb6
--- /dev/null
+++ b/freebsd/tdeartwork/Makefile
@@ -0,0 +1,48 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../trinity.port.mk>
+
+PORTNAME= tdeartwork-trinity
+COMMENT= Trinity themes, styles and more
+TDE_PREVERSION= ~pre13+06aaf847
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11-themes
+DIST_SUBDIR= TDE
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
+ ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \
+ ${TDE_PREFIX}/share/cmake/twin.cmake:${PORTSDIR}/x11/trinity/tdebase \
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+
+BUILD_DEPENDS+=\
+ xscreensaver:${PORTSDIR}/x11/xscreensaver \
+
+LIB_DEPENDS+=\
+ libGL.so:${PORTSDIR}/graphics/libGL \
+ libGLU.so:${PORTSDIR}/graphics/libGLU \
+ libXss.so:${PORTSDIR}/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_ARTS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>