aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2009-01-21 14:20:34 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2009-01-21 14:20:34 +0000
commit4c74218167806288547ea30fa49240eaf3d9dca0 (patch)
tree138128795af968c0fd5e139ce8fb0728574a440e /cad
parent73073fda28696d1e715faf86c57b720c9cb528c7 (diff)
downloadports-4c74218167806288547ea30fa49240eaf3d9dca0.tar.gz
ports-4c74218167806288547ea30fa49240eaf3d9dca0.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/qcad/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 881e92279366..6b97afb95b96 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qcad
PORTVERSION= 2.0.5.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= ftp://www.ribbonsoft.com/archives/qcad/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1$/-1/}-community.src
@@ -34,6 +34,11 @@ MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
CFLAGS+= -O0
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's:RS_SYSTEM->getAppDir()+"/bin":"${PREFIX}/bin":' \
+ -e 's:RS_SYSTEM->getDocPath() + "/qcaddoc.adp":"${DOCSDIR}/qcaddoc.adp":' \
+ ${WRKSRC}/qcad/src/qc_applicationwindow.cpp
+
do-build:
cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} bash ./build_qcad.sh notrans