diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-04-14 19:35:43 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-04-14 19:35:43 +0000 |
commit | fe3169cd56e5a1f462241ab8fe01b85b76876b94 (patch) | |
tree | d1c46ead52d5fcd9f9e3acc269da2536d6b27810 /www/lynx | |
parent | Respect CFLAGS and CC. (diff) |
Add a lynx.cfg.default file, only install lynx.cfg if it doesn't already
exist.
Reviewed by: obrien
Notes
Notes:
svn path=/head/; revision=17875
Diffstat (limited to 'www/lynx')
-rw-r--r-- | www/lynx/Makefile | 3 | ||||
-rw-r--r-- | www/lynx/pkg-plist | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 953c4c00bad4..5a347190d7cd 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -3,7 +3,7 @@ # Date created: 15 Dec 1994 # Whom: ache # -# $Id: Makefile,v 1.80 1998/10/31 15:36:18 jseger Exp $ +# $Id: Makefile,v 1.81 1998/11/06 02:41:06 jseger Exp $ # DISTNAME= lynx2.8.1rel.1 @@ -25,5 +25,6 @@ WRKSRC= ${WRKDIR}/lynx2-8-1 post-install: chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg + ${INSTALL_DATA} ${WRKSRC}/lynx.cfg ${PREFIX}/etc/lynx.cfg.default .include <bsd.port.mk> diff --git a/www/lynx/pkg-plist b/www/lynx/pkg-plist index 4d9c5e04fb63..caa47443f780 100644 --- a/www/lynx/pkg-plist +++ b/www/lynx/pkg-plist @@ -1,4 +1,6 @@ bin/lynx +etc/lynx.cfg.default +@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi lib/lynx_help/Lynx_users_guide.html lib/lynx_help/about_lynx.html lib/lynx_help/keystrokes/bookmark_help.html |