diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-23 07:09:57 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-23 07:09:57 +0000 |
commit | 05422fd6517f503147e442efc9f703c1e592d6bf (patch) | |
tree | 627e59cacacc004136cc757b12ed601b59e00721 /audio | |
parent | 4b1ff6c288631c056ac410d13379a6bb484aee78 (diff) | |
download | freebsd-ports-05422fd6517f503147e442efc9f703c1e592d6bf.zip |
Prefer relative links to make packages more relocation friendly
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gvolwheel/Makefile | 4 | ||||
-rw-r--r-- | audio/pd/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/audio/gvolwheel/Makefile b/audio/gvolwheel/Makefile index d2da1d0f126c..1ab33f9ae5c4 100644 --- a/audio/gvolwheel/Makefile +++ b/audio/gvolwheel/Makefile @@ -3,7 +3,7 @@ PORTNAME= gvolwheel PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} @@ -39,6 +39,6 @@ post-patch: post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${LN} -sf ${PREFIX}/share/pixmaps/gvolwheel/audio-volume-high.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${LN} -sf gvolwheel/audio-volume-high.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include <bsd.port.mk> diff --git a/audio/pd/Makefile b/audio/pd/Makefile index c8f2ac5efc8d..5583906f0cb5 100644 --- a/audio/pd/Makefile +++ b/audio/pd/Makefile @@ -4,7 +4,7 @@ PORTNAME= pd DISTVERSION= 0.47-0 DISTVERSIONSUFFIX= .src -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://msp.ucsd.edu/Software/ @@ -79,7 +79,7 @@ do-install: .for i in LICENSE.txt README.txt (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor - ${LN} -sf ${DOCSDIR} ${STAGEDIR}${PREFIX}/lib/pd/doc + ${LN} -sf ../../${DOCSDIR_REL} ${STAGEDIR}${PREFIX}/lib/pd/doc ${FIND} ${STAGEDIR}${PREFIX}/lib/pd -name "*.pd_linux" | ${XARGS} \ ${STRIP_CMD} |