Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 07:17:46 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417349 - in head: databases/firebird25-server deskutils/anamnesis deskutils/ganttproject deskutils/remind deskutils/tel
Message-ID:  <201606230717.u5N7Hknp022235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jun 23 07:17:46 2016
New Revision: 417349
URL: https://svnweb.freebsd.org/changeset/ports/417349

Log:
  Prefer relative symlink to be relocation friendly

Modified:
  head/databases/firebird25-server/Makefile
  head/deskutils/anamnesis/Makefile
  head/deskutils/ganttproject/Makefile
  head/deskutils/remind/Makefile
  head/deskutils/tel/Makefile

Modified: head/databases/firebird25-server/Makefile
==============================================================================
--- head/databases/firebird25-server/Makefile	Thu Jun 23 07:09:57 2016	(r417348)
+++ head/databases/firebird25-server/Makefile	Thu Jun 23 07:17:46 2016	(r417349)
@@ -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

Modified: head/deskutils/anamnesis/Makefile
==============================================================================
--- head/deskutils/anamnesis/Makefile	Thu Jun 23 07:09:57 2016	(r417348)
+++ head/deskutils/anamnesis/Makefile	Thu Jun 23 07:17:46 2016	(r417349)
@@ -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
 

Modified: head/deskutils/ganttproject/Makefile
==============================================================================
--- head/deskutils/ganttproject/Makefile	Thu Jun 23 07:09:57 2016	(r417348)
+++ head/deskutils/ganttproject/Makefile	Thu Jun 23 07:17:46 2016	(r417349)
@@ -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
 

Modified: head/deskutils/remind/Makefile
==============================================================================
--- head/deskutils/remind/Makefile	Thu Jun 23 07:09:57 2016	(r417348)
+++ head/deskutils/remind/Makefile	Thu Jun 23 07:17:46 2016	(r417349)
@@ -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

Modified: head/deskutils/tel/Makefile
==============================================================================
--- head/deskutils/tel/Makefile	Thu Jun 23 07:09:57 2016	(r417348)
+++ head/deskutils/tel/Makefile	Thu Jun 23 07:17:46 2016	(r417349)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606230717.u5N7Hknp022235>