mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
a80e63be7b
===> ru-pgp-2.6.3ia depends on executable: pgp - found [ -d /usr/local/lib/pgp ] || mkdir -p /usr/local/lib/pgp cd /usr/ports/russian/pgp.language/work; install -c -o bin -g bin -m 444 language.txt ru.hlp /usr/local/lib/pgp cd /usr/ports/russian/pgp.language/work; tr -d '\015' < NOTES.ru > /usr/local/lib/pgp/NOTES.ru cd /usr/local/lib/pgp; grep -l -q '^Language.*=.*ru' config.txt || { cp config.txt config.txt.bak; sed 's/^Language.*=.*$/Language = ru/' < config.txt.bak > config.txt; } grep: config.txt: No such file or directory cp: config.txt: No such file or directory *** Error code 1
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: pgp.language
|
|
# Version required: 2.6.3ia
|
|
# Date created: 4 May 1995
|
|
# Whom: ache
|
|
#
|
|
# $Id: Makefile,v 1.17 1998/06/27 05:19:30 asami Exp $
|
|
#
|
|
|
|
DISTNAME= pgp26ru
|
|
PKGNAME= ru-pgp-2.6.3ia
|
|
CATEGORIES= russian
|
|
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
|
|
|
BROKEN_ELF= yes
|
|
|
|
BUILD_DEPENDS += unzip:${PORTSDIR}/archivers/unzip
|
|
RUN_DEPENDS += pgp:${PORTSDIR}/security/pgp
|
|
|
|
EXTRACT_CMD= unzip
|
|
EXTRACT_ARGS= -q
|
|
NO_WRKSUBDIR= YES
|
|
NO_BUILD= YES
|
|
|
|
PGPLIB= ${PREFIX}/lib/pgp
|
|
OBJS= language.txt ru.hlp
|
|
|
|
do-install:
|
|
[ -d ${PGPLIB} ] || mkdir -p ${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>
|