[Midnightbsd-cvs] mports [19691] trunk/www/lynx: fix the installation of config files with @sample

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 8 01:28:56 EDT 2015


Revision: 19691
          http://svnweb.midnightbsd.org/mports/?rev=19691
Author:   laffer1
Date:     2015-08-08 01:28:16 -0400 (Sat, 08 Aug 2015)
Log Message:
-----------
fix the installation of config files with @sample

Modified Paths:
--------------
    trunk/www/lynx/Makefile
    trunk/www/lynx/pkg-plist

Modified: trunk/www/lynx/Makefile
===================================================================
--- trunk/www/lynx/Makefile	2015-08-08 04:35:51 UTC (rev 19690)
+++ trunk/www/lynx/Makefile	2015-08-08 05:28:16 UTC (rev 19691)
@@ -2,8 +2,10 @@
 
 PORTNAME=	lynx
 PORTVERSION=	2.8.8.2
+PORTREVISION=	1
 CATEGORIES=	www ipv6
-MASTER_SITES=	http://lynx.isc.org/current/
+MASTER_SITES=	http://lynx.isc.org/current/ \
+		http://bitrote.org/distfiles/
 DISTNAME=	${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E}
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -13,7 +15,7 @@
 
 MAKE_JOBS_UNSAFE=yes
 
-USES=		tar:bzip2
+USES=		cpe tar:bzip2
 USE_OPENSSL=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}2-8-8
 GNU_CONFIGURE=	yes
@@ -21,7 +23,10 @@
 		--enable-nsl-fork --enable-persistent-cookies \
 		--enable-nested-tables --enable-gzip-help \
 		--with-screen=ncursesw
+CPE_VERSION=	${PORTVERSION:R}
+CPE_UPDATE=	rel.${PORTVERSION:E}
 
+
 _FAKE_SETUP += DOCSDIR=${FAKE_DESTDIR}${DOCSDIR}
 TARGET_DIR=	${DESTDIR}${PREFIX}
 

Modified: trunk/www/lynx/pkg-plist
===================================================================
--- trunk/www/lynx/pkg-plist	2015-08-08 04:35:51 UTC (rev 19690)
+++ trunk/www/lynx/pkg-plist	2015-08-08 05:28:16 UTC (rev 19691)
@@ -1,6 +1,6 @@
 bin/lynx
-etc/lynx.cfg.sample
-etc/lynx.lss.sample
+ at sample etc/lynx.cfg.sample
+ at sample etc/lynx.lss.sample
 man/man1/lynx.1.gz
 @exec mkdir -p %D/%%PORTDOCS%%/share/lynx_help
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES



More information about the Midnightbsd-cvs mailing list