summaryrefslogtreecommitdiffstats
path: root/freebsd/core/tdegraphics/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/core/tdegraphics/Makefile')
-rw-r--r--freebsd/core/tdegraphics/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/freebsd/core/tdegraphics/Makefile b/freebsd/core/tdegraphics/Makefile
new file mode 100644
index 000000000..1228a3cbb
--- /dev/null
+++ b/freebsd/core/tdegraphics/Makefile
@@ -0,0 +1,55 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../trinity.port.mk>
+
+PORTNAME= tdegraphics-trinity
+COMMENT= Trinity graphics apps
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11 graphics
+DIST_SUBDIR= TDE/core
+
+USE_XORG+= xxf86vm
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
+ ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs \
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+ libart_lgpl_2.so:${PORTSDIR}/x11/trinity/dependencies/libart-lgpl \
+ libImlib.so:${PORTSDIR}/x11/trinity/dependencies/imlib \
+
+LIB_DEPENDS+=\
+ libexif.so:${PORTSDIR}/graphics/libexif \
+ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+ libfreetype.so:${PORTSDIR}/print/freetype2 \
+ libfribidi.so:${PORTSDIR}/converters/fribidi \
+ libglut.so:${PORTSDIR}/graphics/freeglut \
+ libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 \
+ libOpenEXR.so:${PORTSDIR}/graphics/openexr \
+ liblcms2.so:${PORTSDIR}/graphics/lcms2 \
+ libpaper.so:${PORTSDIR}/print/libpaper \
+ libpoppler.so:${PORTSDIR}/graphics/poppler \
+ libsane.so:${PORTSDIR}/graphics/sane-backends \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ \
+ -DBUILD_ALL="ON" \
+ -DWITH_TIFF="ON" \
+ -DWITH_OPENEXR="ON" \
+ -DWITH_PDF="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>