summaryrefslogtreecommitdiffstats
path: root/freebsd/trinity.port.mk
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-02-18 19:50:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-04-27 23:22:25 +0200
commit4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb (patch)
treec4821fd4feebc8bb562fd5b3bda7ec3556fb1a69 /freebsd/trinity.port.mk
parent37c9371d70f9aeffc435b896e88bf20b490cfd55 (diff)
downloadtde-packaging-4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb.tar.gz
tde-packaging-4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb.zip
FreeBSD: Update for final release R14.0.8.r14.0.8
Switch from gmake to ninja for CMake builds. Switch several applications to CMake. Add ports for several applications. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/trinity.port.mk')
-rw-r--r--freebsd/trinity.port.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/freebsd/trinity.port.mk b/freebsd/trinity.port.mk
index 7d976d4ab..0de956dfc 100644
--- a/freebsd/trinity.port.mk
+++ b/freebsd/trinity.port.mk
@@ -1,6 +1,6 @@
### General information
-TDE_VERSION?= 14.0.7
+TDE_VERSION?= 14.0.8
TDE_PREFIX= /opt/trinity
PREFIX= ${TDE_PREFIX}
@@ -40,12 +40,13 @@ BUILD_DEPENDS=\
automake:${PORTSDIR}/devel/automake \
libtool:${PORTSDIR}/devel/libtool \
cmake:${PORTSDIR}/devel/cmake \
+ ninja:${PORTSDIR}/devel/ninja \
gettext:${PORTSDIR}/devel/gettext \
gfind:${PORTSDIR}/misc/findutils \
gsed:${PORTSDIR}/textproc/gsed \
bash:${PORTSDIR}/shells/bash \
-USES+= gmake
+USES+= ninja
PATCH_STRIP= -p1
@@ -79,6 +80,7 @@ TDE_CMAKE_CONFIGURE=\
[ -z "${TDE_BUILD_SUBDIR}" ] || mkdir ${WRKSRC}/${TDE_BUILD_SUBDIR} && \
cd ${WRKSRC}/${TDE_BUILD_SUBDIR} && \
cmake ${WRKSRC} \
+ -GNinja \
-DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" \
-DCMAKE_C_FLAGS="${TDE_FLAGS}" \
-DCMAKE_CXX_FLAGS="${TDE_FLAGS}" \
@@ -121,7 +123,7 @@ TDE_AUTOTOOLS_CONFIGURE+=--disable-debug
### Custom build targets
tde-pathfix:
cd ${WRKSRC}; \
- [ -d admin ] && \
+ [ -d admin ] && [ -e admin/am_edit ] && \
gsed -i admin/am_edit \
admin/debianrules \
admin/nmcheck \