diff options
author | bapt <bapt@FreeBSD.org> | 2016-06-23 15:09:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-06-23 15:09:57 +0800 |
commit | cf2bbb4a33f9194c9d5726ec791b235e8c2d0119 (patch) | |
tree | 627e59cacacc004136cc757b12ed601b59e00721 /archivers | |
parent | f522dfe669cf11f752ae963dbe12b4e3d4fbaa63 (diff) | |
download | freebsd-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 'archivers')
-rw-r--r-- | archivers/bzip2/Makefile | 15 | ||||
-rw-r--r-- | archivers/libarc/Makefile | 4 |
2 files changed, 10 insertions, 9 deletions
diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile index 4b8e2308a68d..efec0cf588fd 100644 --- a/archivers/bzip2/Makefile +++ b/archivers/bzip2/Makefile @@ -3,6 +3,7 @@ PORTNAME= bzip2 PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.bzip.org/${PORTVERSION}/ @@ -18,19 +19,19 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/bzip2 ${STAGEDIR}${PREFIX}/bin/bunzip2 - ${LN} -sf ${PREFIX}/bin/bzip2 ${STAGEDIR}${PREFIX}/bin/bzcat - ${LN} -sf ${PREFIX}/bin/bzip2 ${STAGEDIR}${PREFIX}/bin/bz2cat + ${LN} -sf bzip2 ${STAGEDIR}${PREFIX}/bin/bunzip2 + ${LN} -sf bzip2 ${STAGEDIR}${PREFIX}/bin/bzcat + ${LN} -sf bzip2 ${STAGEDIR}${PREFIX}/bin/bz2cat ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bzgrep ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/bzgrep ${STAGEDIR}${PREFIX}/bin/bzegrep - ${LN} -sf ${PREFIX}/bin/bzgrep ${STAGEDIR}${PREFIX}/bin/bzfgrep + ${LN} -sf bzgrep ${STAGEDIR}${PREFIX}/bin/bzegrep + ${LN} -sf bzgrep ${STAGEDIR}${PREFIX}/bin/bzfgrep ${INSTALL_SCRIPT} ${WRKSRC}/bzmore ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/bzmore ${STAGEDIR}${PREFIX}/bin/bzless + ${LN} -sf bzmore ${STAGEDIR}${PREFIX}/bin/bzless ${INSTALL_DATA} ${WRKSRC}/bzlib.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libbz2.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/libbz2.so.1 ${STAGEDIR}${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libbz2.so.1 ${STAGEDIR}${PREFIX}/lib/libbz2.so + ${LN} -sf libbz2.so.1 ${STAGEDIR}${PREFIX}/lib/libbz2.so ${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/bzgrep.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/bzmore.1 ${STAGEDIR}${PREFIX}/man/man1 diff --git a/archivers/libarc/Makefile b/archivers/libarc/Makefile index b8a35435e009..bbe71d862848 100644 --- a/archivers/libarc/Makefile +++ b/archivers/libarc/Makefile @@ -3,7 +3,7 @@ PORTNAME= libarc PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers devel MASTER_SITES= http://www.onicos.com/staff/iz/release/ @@ -20,7 +20,7 @@ USE_LDCONFIG= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/arccat ${STAGEDIR}/${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${SOLIB}.${SOVERSION} ${STAGEDIR}/${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/${SOLIB}.${SOVERSION} ${STAGEDIR}/${PREFIX}/lib/${SOLIB} + ${LN} -sf ${SOLIB}.${SOVERSION} ${STAGEDIR}/${PREFIX}/lib/${SOLIB} @${MKDIR} ${STAGEDIR}/${PREFIX}/include/libarc ${INSTALL_DATA} ${WRKSRC}/libarc/* ${STAGEDIR}/${PREFIX}/include/libarc (cd ${WRKSRC} && ${INSTALL_DATA} unlzh.h zip.h ${STAGEDIR}/${PREFIX}/include/libarc) |