diff options
author | bapt <bapt@FreeBSD.org> | 2016-06-23 15:17:46 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-06-23 15:17:46 +0800 |
commit | 781529b79c7cf717c56901043cdca5bcec7d427e (patch) | |
tree | 18d0be86ea84a2fe0f0268ca3ff44f03918bb55c | |
parent | cf2bbb4a33f9194c9d5726ec791b235e8c2d0119 (diff) | |
download | freebsd-ports-gnome-781529b79c7cf717c56901043cdca5bcec7d427e.tar.gz freebsd-ports-gnome-781529b79c7cf717c56901043cdca5bcec7d427e.tar.zst freebsd-ports-gnome-781529b79c7cf717c56901043cdca5bcec7d427e.zip |
Prefer relative symlink to be relocation friendly
-rw-r--r-- | databases/firebird25-server/Makefile | 4 | ||||
-rw-r--r-- | deskutils/anamnesis/Makefile | 3 | ||||
-rw-r--r-- | deskutils/ganttproject/Makefile | 5 | ||||
-rw-r--r-- | deskutils/remind/Makefile | 3 | ||||
-rw-r--r-- | deskutils/tel/Makefile | 4 |
5 files changed, 11 insertions, 8 deletions
diff --git a/databases/firebird25-server/Makefile b/databases/firebird25-server/Makefile index e25fd222f5c3..52ef3de233d1 100644 --- a/databases/firebird25-server/Makefile +++ b/databases/firebird25-server/Makefile @@ -3,7 +3,7 @@ PORTNAME= firebird PORTVERSION= 2.5.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES?= databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:S/.0//}-Release/ PKGNAMESUFFIX?= ${PORTVERSION:R:S/.//}-server @@ -208,7 +208,7 @@ post-install-DOCS-on: @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${FB_DOCS_DIRS:S!^!${STAGEDIR}${DOCSDIR}/!} ${INSTALL_DATA} ${FB_DOCS_FILES:S!^!${WRKSRC}/doc/!} ${STAGEDIR}${DOCSDIR} - ${LN} -sf ${DOCSDIR}/README.user ${STAGEDIR}${DOCSDIR}/README + ${LN} -sf README.user ${STAGEDIR}${DOCSDIR}/README ${INSTALL_DATA} ${WRKSRC}/doc/sql.extensions/* ${STAGEDIR}${DOCSDIR}/sql.extensions ${INSTALL_DATA} ${WRKSRC}/doc/license/* ${STAGEDIR}${DOCSDIR}/license ${INSTALL_DATA} ${WRKSRC}/src/misc/upgrade/v2/* ${STAGEDIR}${DOCSDIR}/upgrade diff --git a/deskutils/anamnesis/Makefile b/deskutils/anamnesis/Makefile index 53180934712f..0ad660485670 100644 --- a/deskutils/anamnesis/Makefile +++ b/deskutils/anamnesis/Makefile @@ -3,6 +3,7 @@ PORTNAME= anamnesis PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= SF @@ -36,7 +37,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/source/${f}.pyc ${STAGEDIR}${PREFIX}/share/anamnesis ${INSTALL_DATA} ${WRKSRC}/source/${f}.pyo ${STAGEDIR}${PREFIX}/share/anamnesis .endfor - ${LN} -sf ${PREFIX}/share/anamnesis/anamnesis.py ${STAGEDIR}${PREFIX}/bin/anamnesis + ${LN} -sf ../share/anamnesis/anamnesis.py ${STAGEDIR}${PREFIX}/bin/anamnesis ${INSTALL_DATA} ${WRKSRC}/anamnesis.cfg ${STAGEDIR}${PREFIX}/etc/anamnesis.cfg.sample ${INSTALL_MAN} ${WRKSRC}/man/anamnesis.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 diff --git a/deskutils/ganttproject/Makefile b/deskutils/ganttproject/Makefile index 98c23e39dee3..44193b10943d 100644 --- a/deskutils/ganttproject/Makefile +++ b/deskutils/ganttproject/Makefile @@ -3,6 +3,7 @@ PORTNAME= ganttproject PORTVERSION= 2.7.1 +PORTREVISION= 1 DISTVERSIONSUFFIX= -r1924 CATEGORIES= deskutils java MASTER_SITES= https://dl.ganttproject.biz/${PORTNAME}-${PORTVERSION}/ @@ -28,10 +29,10 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/ganttproject - ${LN} -sf ${DATADIR}/ganttproject ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ../${DATADIR_REL}/ganttproject ${STAGEDIR}${PREFIX}/bin .for i in 16 24 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps - ${LN} -sf ${DATADIR}/plugins/net.sourceforge.ganttproject/data/resources/logos/icon${i}.png \ + ${LN} -sf ../../../../../${DATADIR_REL}/plugins/net.sourceforge.ganttproject/data/resources/logos/icon${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ganttproject.png .endfor diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile index bd0a36ef3958..65f2a3d5e356 100644 --- a/deskutils/remind/Makefile +++ b/deskutils/remind/Makefile @@ -3,6 +3,7 @@ PORTNAME= remind PORTVERSION= 3.1.15 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= http://www.roaringpenguin.com/files/download/ \ http://freebsd.unixfreunde.de/sources/ @@ -70,7 +71,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/man/${i}.1 ${STAGEDIR}${PREFIX}/man/man1 .endfor ${INSTALL_MAN} ${WRKSRC}/man/rem.1 ${STAGEDIR}${PREFIX}/man/man1 - ${LN} -sf ${PREFIX}/bin/remind ${STAGEDIR}${PREFIX}/bin/rem + ${LN} -sf ../bin/remind ${STAGEDIR}${PREFIX}/bin/rem .if ${PORT_OPTIONS:MTCLTK} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/cm2rem.tcl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/scripts/tkremind ${STAGEDIR}${PREFIX}/bin diff --git a/deskutils/tel/Makefile b/deskutils/tel/Makefile index 209d0f6756c7..109270f6739a 100644 --- a/deskutils/tel/Makefile +++ b/deskutils/tel/Makefile @@ -3,7 +3,7 @@ PORTNAME= tel PORTVERSION= 0.1.7.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}.berlios @@ -30,6 +30,6 @@ post-patch: post-install: @${FIND} ${STAGEDIR}${PREFIX}/bin -type l -delete - @${LN} -sf ${PREFIX}/lib/tel/tel.py ${STAGEDIR}${PREFIX}/bin/tel + @${LN} -sf ../lib/tel/tel.py ${STAGEDIR}${PREFIX}/bin/tel .include <bsd.port.mk> |