diff options
author | mr <mr@FreeBSD.org> | 2009-01-21 22:20:34 +0800 |
---|---|---|
committer | mr <mr@FreeBSD.org> | 2009-01-21 22:20:34 +0800 |
commit | 75771f47328daafb3d0443cc255babfc95f87c53 (patch) | |
tree | 0386372cdd2b9c2f9d8aa5a07dc39302f44f58d5 /cad | |
parent | 4573182239322c5880e0ac6ab8e1761aba2b64a3 (diff) | |
download | freebsd-ports-gnome-75771f47328daafb3d0443cc255babfc95f87c53.tar.gz freebsd-ports-gnome-75771f47328daafb3d0443cc255babfc95f87c53.tar.zst freebsd-ports-gnome-75771f47328daafb3d0443cc255babfc95f87c53.zip |
Fix the paths to qt assistant and qcad manual that are being encoded
into the qcad binary.
PR: ports/130747
Submitted by: Alexey Shuvaev
Diffstat (limited to 'cad')
-rw-r--r-- | cad/qcad/Makefile | 7 |
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 |