- use USES=tar

- use @sample
This commit is contained in:
Dirk Meyer 2015-11-21 18:56:06 +00:00
parent 7268e74109
commit 6fbeaa1d06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402180
2 changed files with 5 additions and 10 deletions

View file

@ -5,11 +5,11 @@ PORTVERSION= 010323
CATEGORIES= security
MASTER_SITES= LOCAL/dinoex
DISTNAME= pgp263in${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= PGP International version - improved for use in IN-CA
USES= tar:tgz
WRKSRC= ${WRKDIR}/pgp263in/src
MAKEFILE= makefile
ALL_TARGET= freebsd-${ARCH} OS_CFLAGS="${CFLAGS}"
@ -22,7 +22,7 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/CHANGES ${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
${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt.sample
${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt.sample
.include <bsd.port.mk>

View file

@ -3,11 +3,6 @@ lib/pgpin/CHANGES
lib/pgpin/pgp.hlp
lib/pgpin/pgpdoc1.txt
lib/pgpin/pgpdoc2.txt
@unexec if cmp -s %D/lib/pgpin/language.txt %D/lib/pgpin/language.txt-dist; then rm -f %D/lib/pgpin/language.txt; fi
lib/pgpin/language.txt-dist
@exec [ ! -f %B/language.txt ] && cp %B/%f %B/language.txt
@unexec if cmp -s %D/lib/pgpin/config.txt %D/lib/pgpin/config.txt-dist; then rm -f %D/lib/pgpin/config.txt; fi
lib/pgpin/config.txt-dist
@exec [ ! -f %B/config.txt ] && cp %B/%f %B/config.txt
@sample lib/pgpin/language.txt.sample
@sample lib/pgpin/config.txt.sample
man/man1/pgpin.1.gz
@dirrm lib/pgpin