1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/russian/pgp.language/Makefile

37 lines
917 B
Makefile
Raw Normal View History

1995-05-04 14:47:57 +00:00
# New ports collection makefile for: pgp.language
# Date created: 4 May 1995
# Whom: ache
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
1995-05-04 14:47:57 +00:00
#
2000-04-13 19:19:05 +00:00
PORTNAME= pgp
PORTVERSION= 2.6.3ia
CATEGORIES= russian
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
2000-04-13 19:19:05 +00:00
DISTNAME= pgp26ru
1995-05-04 14:47:57 +00:00
MAINTAINER= ache@FreeBSD.org
1995-05-04 14:47:57 +00:00
RUN_DEPENDS+= ${LOCALBASE}/lib/pgp/config.txt:${PORTSDIR}/security/pgp
RESTRICTED= "Crypto"
1999-05-07 03:26:25 +00:00
USE_ZIP= YES
NO_WRKSUBDIR= YES
NO_BUILD= YES
1995-05-04 14:47:57 +00:00
PGPLIB= ${PREFIX}/lib/pgp
OBJS= language.txt ru.hlp
1995-05-04 14:47:57 +00:00
do-install:
[ -d ${PGPLIB} ] || ${MKDIR} ${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; \
1999-08-28 02:17:34 +00:00
${SED} 's/^Language.*=.*$$/Language = ru/' < config.txt.bak > config.txt; }
1995-05-04 14:47:57 +00:00
-pgp > /dev/null 2>&1 # update .idx file
.include <bsd.port.mk>