summaryrefslogtreecommitdiffstats
path: root/freebsd/tdeedu/Makefile
diff options
context:
space:
mode:
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>