1995-05-04 14:47:57 +00:00
|
|
|
# New ports collection makefile for: pgp.language
|
1996-05-27 01:44:53 +00:00
|
|
|
# Version required: 2.6.3ia
|
1995-05-04 14:47:57 +00:00
|
|
|
# Date created: 4 May 1995
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1997-08-10 22:31:36 +00:00
|
|
|
# $Id: Makefile,v 1.15 1997/08/09 19:50:02 fenner Exp $
|
1995-05-04 14:47:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pgp26ru
|
1996-05-27 01:44:53 +00:00
|
|
|
PKGNAME= ru-pgp-2.6.3ia
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= russian
|
1997-08-10 22:31:36 +00:00
|
|
|
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
|
1995-05-12 09:43:57 +00:00
|
|
|
EXTRACT_SUFX= .zip
|
1995-05-04 14:47:57 +00:00
|
|
|
|
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
|
|
|
|
1995-09-23 17:22:38 +00:00
|
|
|
BUILD_DEPENDS += unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
RUN_DEPENDS += pgp:${PORTSDIR}/security/pgp
|
1995-07-13 00:55:40 +00:00
|
|
|
|
1995-05-04 14:47:57 +00:00
|
|
|
EXTRACT_CMD= unzip
|
|
|
|
EXTRACT_ARGS= -q
|
1995-05-12 09:43:57 +00:00
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
NO_CONFIGURE= YES
|
|
|
|
NO_PATCH= YES
|
|
|
|
NO_BUILD= YES
|
1995-05-04 14:47:57 +00:00
|
|
|
|
|
|
|
PGPLIB= ${PREFIX}/lib/pgp
|
|
|
|
OBJS= language.txt ru.hlp
|
|
|
|
|
|
|
|
do-install:
|
1995-05-12 09:43:57 +00:00
|
|
|
[ -d ${PGPLIB} ] || mkdir -p ${PGPLIB}
|
1995-05-04 14:47:57 +00:00
|
|
|
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>
|