1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Fix PORTDOCS usage in @execs from r293632 without DOCS.

It was creating /usr/local/@comment.
This commit is contained in:
Bryan Drewery 2015-05-14 19:24:37 +00:00
parent 7df1516f09
commit 647efd9946
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386355
2 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.8.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \

View File

@ -2,16 +2,16 @@ bin/lynx
@sample etc/lynx.cfg.sample
@sample etc/lynx.lss.sample
man/man1/lynx.1.gz
@exec mkdir -p %D/%%PORTDOCS%%/share/lynx_help
%%PORTDOCS%%@exec mkdir -p %D/share/lynx_help
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER.asc
@exec ln -sf %D/%F %D/%%PORTDOCS%%/share/lynx_help
@unexec rm -f %D/%%PORTDOCS%%/share/lynx_help/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
@exec ln -sf %D/%F %D/%%PORTDOCS%%/share/lynx_help
@unexec rm -f %D/%%PORTDOCS%%/share/lynx_help/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