summaryrefslogtreecommitdiffstats
path: root/freebsd/trinity.port.mk
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/trinity.port.mk')
-rw-r--r--freebsd/trinity.port.mk41
1 files changed, 25 insertions, 16 deletions
diff --git a/freebsd/trinity.port.mk b/freebsd/trinity.port.mk
index f336cabb9..4ac5e2c4f 100644
--- a/freebsd/trinity.port.mk
+++ b/freebsd/trinity.port.mk
@@ -1,13 +1,15 @@
### General information
-TDE_VERSION?= 14.0.4
+TDE_VERSION?= 14.0.5
TDE_PREFIX= /opt/trinity
PREFIX= ${TDE_PREFIX}
HOMEPAGE= http://www.trinitydesktop.org/
MAINTAINER?= slavek.banko@axis.cz
-MASTER_SITE_TDE?= http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/ubuntu/pool/main/%SUBDIR%/
-MASTER_SITE_TDE_DEPS?= http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/ubuntu/pool/main/%SUBDIR%/
+MASTER_SITE_TDE?= http://mirror.ppa.trinitydesktop.org/slavek-banko/main-r14/ubuntu/pool/main/%SUBDIR%/ \
+ http://mirror.xcer.cz/trinity-sb/pool/main-r14/%SUBDIR%/
+MASTER_SITE_TDE_DEPS?= http://mirror.ppa.trinitydesktop.org/slavek-banko/deps-r14/ubuntu/pool/main/%SUBDIR%/ \
+ http://mirror.xcer.cz/trinity-sb/pool/deps-r14/%SUBDIR%/
MASTER_SITES= ${MASTER_SITE_TDE}
PORTVERSION= ${TDE_VERSION}${TDE_PREVERSION:C/~(pre|r|s)([0-9]*).*/.p\2/1}
@@ -131,19 +133,29 @@ tde-pathfix:
gfind -name "*.pl" | xargs -r \
gsed -i -e "s|/usr/bin/perl|${LOCALBASE}/bin/perl|"
-### Custom build targets for CMAKE
-tde-cmake-prepare:
- [ -z "${TDE_BUILD_SUBDIR}" ] || rm -rf "${WRKSRC}/${TDE_BUILD_SUBDIR}"
-
-tde-cmake-build:
+tde-build:
${TDE_BUILD_ENV} \
${MAKE_CMD} -C "${WRKSRC}/${TDE_BUILD_SUBDIR}"
-tde-cmake-install:
+tde-check:
+ ${TDE_BUILD_ENV} \
+ ${MAKE_CMD} -C "${WRKSRC}/${TDE_BUILD_SUBDIR}" check
+
+tde-install:
${TDE_BUILD_ENV} \
DESTDIR=${STAGEDIR} \
${MAKE_CMD} -C "${WRKSRC}/${TDE_BUILD_SUBDIR}" install
+### Custom build targets for CMAKE
+tde-cmake-prepare:
+ [ -z "${TDE_BUILD_SUBDIR}" ] || rm -rf "${WRKSRC}/${TDE_BUILD_SUBDIR}"
+
+tde-cmake-build: tde-build
+
+tde-cmake-check: tde-check
+
+tde-cmake-install: tde-install
+
### Custom build targets for AUTOTOOLS
tde-autotools-prepare:
[ -z "${TDE_BUILD_SUBDIR}" ] || rm -rf "${WRKSRC}/${TDE_BUILD_SUBDIR}"
@@ -152,11 +164,8 @@ tde-autotools-prepare:
gsed -i "${WRKSRC}/admin/acinclude.m4.in" -e "s|/usr/include/tqt|${LOCALBASE}/include/tqt|g"
${MAKE_CMD} -C "${WRKSRC}" -f "admin/Makefile.common"
-tde-autotools-build:
- ${TDE_BUILD_ENV} \
- ${MAKE_CMD} -C "${WRKSRC}/${TDE_BUILD_SUBDIR}"
+tde-autotools-build: tde-build
-tde-autotools-install:
- ${TDE_BUILD_ENV} \
- DESTDIR=${STAGEDIR} \
- ${MAKE_CMD} -C "${WRKSRC}/${TDE_BUILD_SUBDIR}" install
+tde-autotools-check: tde-check
+
+tde-autotools-install: tde-install