aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qsa
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-01-08 17:20:41 +0800
committermakc <makc@FreeBSD.org>2010-01-08 17:20:41 +0800
commit19832186e4568bebed4f16c5ad5b0a0be7e02c53 (patch)
treea51ff8bf2e96369318bab773dd85546fe610c210 /devel/qsa
parentbd0fb856d87c1baa9d98ad5aa3a01962f2d609d4 (diff)
downloadfreebsd-ports-gnome-19832186e4568bebed4f16c5ad5b0a0be7e02c53.tar.gz
freebsd-ports-gnome-19832186e4568bebed4f16c5ad5b0a0be7e02c53.tar.zst
freebsd-ports-gnome-19832186e4568bebed4f16c5ad5b0a0be7e02c53.zip
use SUB_FILES to dynamically adjust pkg-message
PR: ports/142448 Submitted by: Sevan Janiyan <venture37 at geeklan.co.uk>
Diffstat (limited to 'devel/qsa')
-rw-r--r--devel/qsa/Makefile8
-rw-r--r--devel/qsa/files/pkg-message.in (renamed from devel/qsa/pkg-message)0
2 files changed, 2 insertions, 6 deletions
diff --git a/devel/qsa/Makefile b/devel/qsa/Makefile
index 63605fe427cc..e4e5b46dc781 100644
--- a/devel/qsa/Makefile
+++ b/devel/qsa/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qsa
PORTVERSION= 1.1.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_QT}
MASTER_SITE_SUBDIR=../../qsa/source
@@ -32,7 +32,7 @@ MAKE_ENV?= QTDIR=${QT_PREFIX} \
PATH=${WRKSRC}/bin:$$PATH
ALL_TARGET= sub-src
-PKGMESSAGE= ${WRKDIR}/message
+SUB_FILES= pkg-message
OPTIONS= IDE "Enable the QSA Workbench (embedded scripting IDE)" on
@@ -54,10 +54,6 @@ pre-configure:
# Disconnect a broken example from the build
@${REINPLACE_CMD} -e 's|enums||g' ${WRKSRC}/examples/examples.pro
-post-build:
- @${CAT} ${PKGDIR}/pkg-message \
- | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${PKGMESSAGE}
-
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
Makefile.qsa ${INSTALL_TARGET})
diff --git a/devel/qsa/pkg-message b/devel/qsa/files/pkg-message.in
index aeb3f36a9d31..aeb3f36a9d31 100644
--- a/devel/qsa/pkg-message
+++ b/devel/qsa/files/pkg-message.in