blob: b9c2a0b55279054c063fb63b5df57ac868609f16 (
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
|
# New ports collection makefile for: pgp.language
# Version required: 2.6
# Date created: 4 May 1995
# Whom: ache
#
# $Id: Makefile,v 1.1.1.1 1995/05/01 11:47:15 ache Exp $
#
DISTNAME= pgp26ru
EXTRACT_SUFX= .zip
CATEGORIES+= utilities
MASTER_SITES= ftp://ftp.kiae.su/unix/crypto/pgp/
NO_WRKSUBDIR= YES
NO_CONFIGURE= YES
NO_PATCH= YES
NO_BUILD= YES
MAINTAINER= ache@FreeBSD.ORG
EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
pgp:${PORTSDIR}/utils/pgp.non-usa_only
EXTRACT_CMD= unzip
EXTRACT_ARGS= -q
PGPLIB= ${PREFIX}/lib/pgp
OBJS= language.txt ru.hlp
do-install:
cd ${WRKSRC}; install -c -o bin -g bin -m 444 ${OBJS} ${PGPLIB}
cd ${WRKSRC}; tr -d '\015' < NOTES.ru > ${PGPLIB}/NOTES.ru
cd ${PGPLIB}; grep -l -q '^Language.*=.*ru' config.txt || { \
cp config.txt config.txt.bak; \
sed 's/^Language.*=.*$$/Language = ru/' < config.txt.bak > config.txt; }
-pgp > /dev/null 2>&1 # update .idx file
.include <bsd.port.mk>
|