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 /deskutils/ganttproject | |
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
Diffstat (limited to 'deskutils/ganttproject')
-rw-r--r-- | deskutils/ganttproject/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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 |