summaryrefslogtreecommitdiffstats
path: root/freebsd/tdeedu/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/tdeedu/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/tdeedu/Makefile')
-rw-r--r--freebsd/tdeedu/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/freebsd/tdeedu/Makefile b/freebsd/tdeedu/Makefile
new file mode 100644
index 000000000..81dceb81d
--- /dev/null
+++ b/freebsd/tdeedu/Makefile
@@ -0,0 +1,48 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../trinity.port.mk>
+
+PORTNAME= tdeedu-trinity
+COMMENT= Trinity educational apps
+TDE_PREVERSION= ~pre8+1c95c929
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11 misc
+DIST_SUBDIR= TDE
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartskde.so:${PORTSDIR}/x11/trinity/tdelibs \
+ ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \
+ ${TDE_PREFIX}/lib/libartsmodules.so:${PORTSDIR}/x11/trinity/tdemultimedia \
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+
+BUILD_DEPENDS+=\
+ doxygen:${PORTSDIR}/devel/doxygen \
+ ocamlopt:${PORTSDIR}/lang/ocaml \
+ ${LOCALBASE}/lib/ocaml/facile/facile.a:${PORTSDIR}/math/facile \
+
+LIB_DEPENDS+= \
+ libasound.so:${PORTSDIR}/audio/alsa-lib \
+ libboost_system.so:${PORTSDIR}/devel/boost-libs \
+ libboost_python.so:${PORTSDIR}/devel/boost-python-libs \
+ libogg.so:${PORTSDIR}/audio/libogg \
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-autotools-prepare
+ ${TDE_AUTOTOOLS_CONFIGURE} \
+
+post-configure:
+ # hack for out of source build
+ ${CP} -a ${WRKSRC}/kalzium/src/solver ${WRKSRC}/.build/kalzium/src/solver
+
+do-build: tde-autotools-build
+
+do-install: tde-autotools-install
+
+.include <bsd.port.mk>