svn commit: r391848 - head/security/pgp

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Jul 12 22:30:26 UTC 2015


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
- at 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
- at exec [ ! -f %B/language.txt ] && cp %B/%f %B/language.txt
- at 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
- at exec [ ! -f %B/config.txt ] && cp %B/%f %B/config.txt
- at dirrm share/pgp
+ at sample share/pgp/language.txt.sample
+ at sample share/pgp/config.txt.sample


More information about the svn-ports-head mailing list