aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-06-23 15:09:57 +0800
committerbapt <bapt@FreeBSD.org>2016-06-23 15:09:57 +0800
commitcf2bbb4a33f9194c9d5726ec791b235e8c2d0119 (patch)
tree627e59cacacc004136cc757b12ed601b59e00721 /cad
parentf522dfe669cf11f752ae963dbe12b4e3d4fbaa63 (diff)
downloadfreebsd-ports-gnome-cf2bbb4a33f9194c9d5726ec791b235e8c2d0119.tar.gz
freebsd-ports-gnome-cf2bbb4a33f9194c9d5726ec791b235e8c2d0119.tar.zst
freebsd-ports-gnome-cf2bbb4a33f9194c9d5726ec791b235e8c2d0119.zip
Prefer relative links to make packages more relocation friendly
Diffstat (limited to 'cad')
-rw-r--r--cad/brickutils/Makefile4
-rw-r--r--cad/leocad/Makefile4
-rw-r--r--cad/meshlab/Makefile4
-rw-r--r--cad/qcad/Makefile6
4 files changed, 9 insertions, 9 deletions
diff --git a/cad/brickutils/Makefile b/cad/brickutils/Makefile
index 356caecb9834..deb6d6f42e39 100644
--- a/cad/brickutils/Makefile
+++ b/cad/brickutils/Makefile
@@ -3,7 +3,7 @@
PORTNAME= brickutils
PORTVERSION= 0.1.6.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-obsolete/ \
SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-obsolete/:docs \
@@ -69,7 +69,7 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile
index 40061f0f25c2..d8a8d2d5bf7b 100644
--- a/cad/leocad/Makefile
+++ b/cad/leocad/Makefile
@@ -3,7 +3,7 @@
PORTNAME= leocad
PORTVERSION= 0.80.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= cad
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
DISTFILES= LeoCAD-Source-${PORTVERSION}.tgz
@@ -86,7 +86,7 @@ post-install:
@cd ${WRKSRC}/tools/icon && ${INSTALL_DATA} ${i} \
${STAGEDIR}${DATADIR}
.endfor
- @${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ @${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/docs/leocad.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
diff --git a/cad/meshlab/Makefile b/cad/meshlab/Makefile
index 36918666e9e6..0fcf81aeed8b 100644
--- a/cad/meshlab/Makefile
+++ b/cad/meshlab/Makefile
@@ -3,7 +3,7 @@
PORTNAME= meshlab
PORTVERSION= 1.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MeshLab%20v${PORTVERSION}/
DISTNAME= MeshLabSrc_AllInc_v${PORTVERSION:C|\.||g}
@@ -52,6 +52,6 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/meshlab/shaders
cd ${WRKSRC}/distrib/shaders && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/meshlab/shaders
${INSTALL_PROGRAM} ${WRKSRC}/distrib/meshlab ${STAGEDIR}${PREFIX}/lib/meshlab
- ${LN} -sf ${PREFIX}/lib/meshlab/meshlab ${STAGEDIR}${PREFIX}/bin
+ ${LN} -sf ../lib/meshlab/meshlab ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 79863d0ecedd..1cf6a93fe5da 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -4,7 +4,7 @@
PORTNAME= qcad
PORTVERSION= 3.15.2.0
DISTVERSIONPREFIX= v
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= cad
DIST_SUBDIR= ${PORTNAME}
@@ -62,10 +62,10 @@ pre-configure:
do-install:
${INSTALL_PROGRAM} ${RESDIR}/qcad-bin ${STAGEDIR}${PREFIX}/bin/
- ${LN} -sf ${PREFIX}/bin/qcad-bin ${STAGEDIR}${PREFIX}/bin/qcad
+ ${LN} -sf qcad-bin ${STAGEDIR}${PREFIX}/bin/qcad
.for lib in ${SHRLIBS:C|^|lib|:C|$|.so|}
${INSTALL_LIB} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/${lib}.0
- ${LN} -sf ${PREFIX}/lib/${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib}
+ ${LN} -sf lib/${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib}
.endfor
.for lib in ${STALIBS:C|^|lib|:C|$|.a|}
${INSTALL_DATA} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/