diff options
author | johans <johans@FreeBSD.org> | 2014-12-22 16:01:30 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2014-12-22 16:01:30 +0800 |
commit | 335ef5da0a040f436519bd3c0de087bd69948073 (patch) | |
tree | 557c8363277e0eecf25f9778b9ff5d133cc50f9f | |
parent | 099ac2fbc6151b6c985c29ee027ea032cdd2578f (diff) | |
download | freebsd-ports-gnome-335ef5da0a040f436519bd3c0de087bd69948073.tar.gz freebsd-ports-gnome-335ef5da0a040f436519bd3c0de087bd69948073.tar.zst freebsd-ports-gnome-335ef5da0a040f436519bd3c0de087bd69948073.zip |
Correct plist and pet portlint
-rw-r--r-- | www/lynx-current/Makefile | 7 | ||||
-rw-r--r-- | www/lynx-current/pkg-plist | 21 |
2 files changed, 11 insertions, 17 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile index 15897bf55dd4..a593aac3e476 100644 --- a/www/lynx-current/Makefile +++ b/www/lynx-current/Makefile @@ -3,9 +3,10 @@ PORTNAME= lynx PORTVERSION= 2.8.9d2 -PKGNAMESUFFIX= -current +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://lynx.isc.org/current/ +PKGNAMESUFFIX= -current DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pre./:S/d/dev./} MAINTAINER= johans@FreeBSD.org @@ -53,4 +54,8 @@ NLS_CONFIGURE_ENABLE= nls IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn IDN_CONFIGURE_ENABLE= idna +post-install: + cd ${STAGEDIR}${PREFIX}/etc/; mv lynx.cfg.default lynx.cfg.sample; \ + mv lynx.lss.default lynx.lss.sample + .include <bsd.port.mk> diff --git a/www/lynx-current/pkg-plist b/www/lynx-current/pkg-plist index 32a7db9bb7fb..d26b2b7e0ef8 100644 --- a/www/lynx-current/pkg-plist +++ b/www/lynx-current/pkg-plist @@ -1,11 +1,7 @@ bin/lynx man/man1/lynx.1.gz -@unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.default; then rm -f %D/etc/lynx.cfg; fi -etc/lynx.cfg.default -@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi -@unexec if [ -f %D/etc/lynx.lss ] && cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.default; then rm -f %D/etc/lynx.lss; fi -etc/lynx.lss.default -@exec if [ ! -f %D/etc/lynx.lss ] ; then cp -p %D/%F %B/lynx.lss; fi +@sample etc/lynx.cfg.sample +@sample etc/lynx.lss.sample @exec mkdir -p %D/share/lynx_help %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/COPYHEADER @@ -71,16 +67,19 @@ etc/lynx.lss.default %%PORTDOCS%%%%DOCSDIR%%/test/ISO_LATIN1_test.html %%PORTDOCS%%%%DOCSDIR%%/test/README.txt %%PORTDOCS%%%%DOCSDIR%%/test/TestComment.html +%%PORTDOCS%%%%DOCSDIR%%/test/X %%PORTDOCS%%%%DOCSDIR%%/test/bad-html.html %%PORTDOCS%%%%DOCSDIR%%/test/c1.html %%PORTDOCS%%%%DOCSDIR%%/test/circle.html %%PORTDOCS%%%%DOCSDIR%%/test/cp-1252.html %%PORTDOCS%%%%DOCSDIR%%/test/cp-1252a.html +%%PORTDOCS%%%%DOCSDIR%%/test/image.jpg %%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-1.html %%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-1a.html %%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-2.html %%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-2a.html %%PORTDOCS%%%%DOCSDIR%%/test/koi8-r.html +%%PORTDOCS%%%%DOCSDIR%%/test/nobody %%PORTDOCS%%%%DOCSDIR%%/test/quickbrown.html %%PORTDOCS%%%%DOCSDIR%%/test/raw8bit.html %%PORTDOCS%%%%DOCSDIR%%/test/sgml.html @@ -142,13 +141,3 @@ share/lynx_help/keystrokes/xterm_help.html.gz share/lynx_help/lynx-dev.html.gz share/lynx_help/lynx_help_main.html.gz share/lynx_help/lynx_url_support.html.gz -%%PORTDOCS%%@dirrm %%DOCSDIR%%/samples -%%PORTDOCS%%@dirrm %%DOCSDIR%%/test -%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm share/lynx_help/keystrokes -@dirrm share/lynx_help -%%NLS%%@dirrmtry share/locale/fi/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/fi -%%NLS%%@dirrmtry share/locale/eo/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/eo |