blob: 34217fff9f589d3e6beec6d83c07c3d43e35baf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $FreeBSD$
PORTNAME= pgpin
PORTVERSION= 010323
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dinoex
DISTNAME= pgp263in${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= PGP International version - improved for use in IN-CA
NO_STAGE= yes
WRKSRC= ${WRKDIR}/pgp263in/src
MAKEFILE= makefile
ALL_TARGET= freebsd-${ARCH} OS_CFLAGS="${CFLAGS}"
PGPLIB= ${PREFIX}/lib/pgpin
MAN1= pgpin.1
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} -c -o bin -g bin -m 555 \
pgp ${PREFIX}/bin/pgpin
cd ${WRKSRC}/../doc; \
${INSTALL_MAN} -c -o bin -g bin -m 444 \
pgp.1 ${PREFIX}/man/man1/pgpin.1
-${MKDIR} ${PGPLIB}
${CHMOD} 555 ${PGPLIB}
${INSTALL_DATA} -c -o bin -g bin -m 444 \
${FILESDIR}/CHANGES ${PGPLIB}
cd ${WRKSRC}/..; \
${INSTALL_DATA} -c -o bin -g bin -m 444 \
pgp.hlp doc/pgpdoc1.txt doc/pgpdoc2.txt ${PGPLIB}; \
${INSTALL_DATA} -c -o bin -g bin -m 444 \
language.txt ${PGPLIB}/language.txt-dist; \
[ -f ${PGPLIB}/language.txt ] || \
${INSTALL_DATA} -c -o bin -g bin -m 444 \
language.txt ${PGPLIB}; \
${INSTALL_DATA} -c -o bin -g bin -m 444 \
config.txt ${PGPLIB}/config.txt-dist; \
[ -f ${PGPLIB}/config.txt ] || \
${INSTALL_DATA} -c -o bin -g bin -m 444 \
config.txt ${PGPLIB}
-${PREFIX}/bin/pgpin > /dev/null 2>&1 # update .idx file
.include <bsd.port.mk>
|