summaryrefslogtreecommitdiffstats
path: root/freebsd/tdegraphics/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
commit595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch)
treea284a943099fabc9782c2959c6da43e2b09078ae /freebsd/tdegraphics/Makefile
parentbb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff)
downloadtde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz
tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/tdegraphics/Makefile')
-rw-r--r--freebsd/tdegraphics/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/freebsd/tdegraphics/Makefile b/freebsd/tdegraphics/Makefile
new file mode 100644
index 000000000..733700f80
--- /dev/null
+++ b/freebsd/tdegraphics/Makefile
@@ -0,0 +1,53 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../trinity.port.mk>
+
+PORTNAME= tdegraphics-trinity
+COMMENT= Trinity graphics apps
+TDE_PREVERSION= ~pre11+b1a44670
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11 graphics
+DIST_SUBDIR= TDE
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
+ ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/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 \
+ libIlmImf.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>