Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 22:30:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391848 - head/security/pgp
Message-ID:  <201507122230.t6CMUQQL072553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jul 12 22:30:25 2015
New Revision: 391848
URL: https://svnweb.freebsd.org/changeset/ports/391848

Log:
  - Switch to @sample
  - Drop @dirrm* from plist

Modified:
  head/security/pgp/Makefile
  head/security/pgp/pkg-plist

Modified: head/security/pgp/Makefile
==============================================================================
--- head/security/pgp/Makefile	Sun Jul 12 22:30:24 2015	(r391847)
+++ head/security/pgp/Makefile	Sun Jul 12 22:30:25 2015	(r391848)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pgp
 PORTVERSION=	2.6.3i
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	PACKETSTORM/crypt/pgp/V5.0
 DISTNAME=	pgp263is
@@ -30,10 +30,8 @@ do-install:
 	-${MKDIR} ${PGPLIB}
 	cd ${WRKSRC}/.. && \
 		${INSTALL_DATA} pgp.hlp doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}/
-	${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt-dist
-	${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt-dist
-
-post-install:
+	${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt.sample
+	${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt.sample
 	${INSTALL_MAN} ${STAGEDIR}${PREFIX}/man/man1/pgp.1 ${STAGEDIR}${PREFIX}/man/man1/pgp2.1
 
 .include <bsd.port.mk>

Modified: head/security/pgp/pkg-plist
==============================================================================
--- head/security/pgp/pkg-plist	Sun Jul 12 22:30:24 2015	(r391847)
+++ head/security/pgp/pkg-plist	Sun Jul 12 22:30:25 2015	(r391848)
@@ -4,10 +4,5 @@ man/man1/pgp2.1.gz
 share/pgp/pgp.hlp
 share/pgp/pgpdoc1.txt
 share/pgp/pgpdoc2.txt
-@unexec if cmp -s %D/share/pgp/language.txt %D/share/pgp/language.txt-dist; then rm -f %D/share/pgp/language.txt; fi
-share/pgp/language.txt-dist
-@exec [ ! -f %B/language.txt ] && cp %B/%f %B/language.txt
-@unexec if cmp -s %D/share/pgp/config.txt %D/share/pgp/config.txt-dist; then rm -f %D/share/pgp/config.txt; fi
-share/pgp/config.txt-dist
-@exec [ ! -f %B/config.txt ] && cp %B/%f %B/config.txt
-@dirrm share/pgp
+@sample share/pgp/language.txt.sample
+@sample share/pgp/config.txt.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507122230.t6CMUQQL072553>