summaryrefslogtreecommitdiffstats
path: root/freebsd/common/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/common/cmake')
-rw-r--r--freebsd/common/cmake/Makefile33
-rw-r--r--freebsd/common/cmake/distinfo3
-rw-r--r--freebsd/common/cmake/pkg-descr7
-rw-r--r--freebsd/common/cmake/pkg-plist13
4 files changed, 56 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: [email protected]
+# $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>
diff --git a/freebsd/common/cmake/distinfo b/freebsd/common/cmake/distinfo
new file mode 100644
index 000000000..3f2d18dc8
--- /dev/null
+++ b/freebsd/common/cmake/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634865757
+SHA256 (TDE/common/cmake-trinity_14.0.11.orig.tar.xz) = cec34fe3dcf37b679eb18a4352831a8da0a18f8de6897a45a1ce5a990291f98e
+SIZE (TDE/common/cmake-trinity_14.0.11.orig.tar.xz) = 35540
diff --git a/freebsd/common/cmake/pkg-descr b/freebsd/common/cmake/pkg-descr
new file mode 100644
index 000000000..29a6f69c9
--- /dev/null
+++ b/freebsd/common/cmake/pkg-descr
@@ -0,0 +1,7 @@
+TDE CMake modules
+
+TDE uses its own set of modules and macros to simplify CMake rules.
+
+This also includes the TDEL10n module that is used to generate and
+update templates for translations and the modified version of
+intltool-merge used to merge translations into desktop files.
diff --git a/freebsd/common/cmake/pkg-plist b/freebsd/common/cmake/pkg-plist
new file mode 100644
index 000000000..7e16814f0
--- /dev/null
+++ b/freebsd/common/cmake/pkg-plist
@@ -0,0 +1,13 @@
+share/cmake/Modules/FindTDE.cmake
+share/cmake/Modules/FindTQt.cmake
+share/cmake/Modules/FindTQtQUI.cmake
+share/cmake/Modules/TDEL10n.cmake
+share/cmake/Modules/TDEMacros.cmake
+share/cmake/Modules/TDESetupPaths.cmake
+share/cmake/Modules/tde_l10n_merge.pl
+share/cmake/Modules/tde_uic.cmake
+share/cmake/Templates/tde_dummy_cpp.cmake
+share/cmake/Templates/tde_export_library.cmake
+share/cmake/Templates/tde_libtool_file.cmake
+share/cmake/Templates/tde_tdeinit_executable.cmake
+share/cmake/Templates/tde_tdeinit_module.cmake