summaryrefslogtreecommitdiffstats
path: root/freebsd/common/cmake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/common/cmake/Makefile')
-rw-r--r--freebsd/common/cmake/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/freebsd/common/cmake/Makefile b/freebsd/common/cmake/Makefile
new file mode 100644
index 000000000..954690c8f
--- /dev/null
+++ b/freebsd/common/cmake/Makefile
@@ -0,0 +1,33 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../trinity.port.mk>
+
+PORTNAME= cmake-trinity
+COMMENT= TDE CMake modules
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= c/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= devel
+DIST_SUBDIR= TDE/common
+PREFIX= ${LOCALBASE}
+
+
+BUILD_DEPENDS=\
+ cmake:${PORTSDIR}/devel/cmake \
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DCMAKE_INSTALL_PREFIX="${PREFIX}"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>