1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/russian/pgp.language/Makefile
Michael Haro 65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00

37 lines
979 B
Makefile

# New ports collection makefile for: pgp.language
# Version required: 2.6.3ia
# Date created: 4 May 1995
# Whom: ache
#
# $FreeBSD$
#
DISTNAME= pgp26ru
PKGNAME= ru-pgp-2.6.3ia
CATEGORIES= russian
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
MAINTAINER= ache@FreeBSD.org
RESTRICTED= "Crypto"
RUN_DEPENDS += ${PREFIX}/lib/pgp/config.txt:${PORTSDIR}/security/pgp
USE_ZIP= YES
NO_WRKSUBDIR= YES
NO_BUILD= YES
PGPLIB= ${PREFIX}/lib/pgp
OBJS= language.txt ru.hlp
do-install:
[ -d ${PGPLIB} ] || ${MKDIR} ${PGPLIB}
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>