1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Create symlinks directly in the package instead of va plist

This commit is contained in:
Baptiste Daroussin 2015-09-26 09:06:22 +00:00
parent 4e19749f73
commit 108730c0b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397947
2 changed files with 5 additions and 6 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.8.2
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \
@ -65,5 +65,7 @@ post-install:
# Fix some stage symlinks
${LN} -sf ${DOCSDIR}/COPYHEADER ${STAGEDIR}${L_HELP}
${LN} -sf ${DOCSDIR}/COPYING ${STAGEDIR}${L_HELP}
${LN} -sf ${DOCSDIR}/COPYHEADER.asc ${STAGEDIR}${L_HELP}
${LN} -sf ${DOCSDIR}/COPYING.asc ${STAGEDIR}${L_HELP}
.include <bsd.port.mk>

View File

@ -2,16 +2,11 @@ bin/lynx
@sample etc/lynx.cfg.sample
@sample etc/lynx.lss.sample
man/man1/lynx.1.gz
%%PORTDOCS%%@exec mkdir -p %D/share/lynx_help
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER.asc
%%PORTDOCS%%@exec ln -sf %D/%F %D/share/lynx_help
%%PORTDOCS%%@unexec rm -f %D/share/lynx_help/COPYHEADER.asc
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYING.asc
%%PORTDOCS%%@exec ln -sf %D/%F %D/share/lynx_help
%%PORTDOCS%%@unexec rm -f %D/share/lynx_help/COPYING.asc
%%PORTDOCS%%%%DOCSDIR%%/PROBLEMS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.3.gz
@ -97,7 +92,9 @@ man/man1/lynx.1.gz
%%PORTDOCS%%%%DOCSDIR%%/test/image.jpg
%%PORTDOCS%%%%DOCSDIR%%/test/nobody
%%PORTDOCS%%share/lynx_help/COPYHEADER
%%PORTDOCS%%share/lynx_help/COPYHEADER.asc
%%PORTDOCS%%share/lynx_help/COPYING
%%PORTDOCS%%share/lynx_help/COPYING.asc
%%PORTDOCS%%share/lynx_help/Lynx_users_guide.html.gz
%%PORTDOCS%%share/lynx_help/about_lynx.html.gz
%%PORTDOCS%%share/lynx_help/keystrokes/alt_edit_help.html.gz