Prefer relative symlink to be relocation friendly
This commit is contained in:
parent
05422fd651
commit
3724b470e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417349
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user