1998-09-17 14:14:50 +00:00
|
|
|
# New ports collection makefile for: pgp.language (korean)
|
|
|
|
# Version required: 2.6.3i
|
|
|
|
# Date created: 22 Jul 1998
|
1999-07-22 04:39:59 +00:00
|
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org>
|
1998-09-17 14:14:50 +00:00
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1998-09-17 14:14:50 +00:00
|
|
|
#
|
|
|
|
# This is based on ja-pgp.
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pgp263i-${PGP_LANGUAGE}
|
|
|
|
PKGNAME= ko-pgp-2.6.3
|
|
|
|
CATEGORIES= korean security
|
1999-07-22 04:39:59 +00:00
|
|
|
MASTER_SITES= http://sparcs.kaist.ac.kr/~firiel/Works/ \
|
|
|
|
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
1998-09-17 14:14:50 +00:00
|
|
|
|
1999-07-22 04:39:59 +00:00
|
|
|
MAINTAINER= cjh@kr.freebsd.org
|
1998-09-17 14:14:50 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
|
|
|
|
1998-10-16 02:53:04 +00:00
|
|
|
RESTRICTED= "Crypto"
|
|
|
|
|
1999-07-22 04:39:59 +00:00
|
|
|
USE_ZIP= YES
|
1998-09-17 14:14:50 +00:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
|
|
|
# version and language specifications
|
|
|
|
PGP_LANGUAGE= korean
|
|
|
|
PGP_LANG= ko
|
|
|
|
PGP_CHARSET= noconv
|
|
|
|
|
|
|
|
PGPLIB= ${PREFIX}/lib/pgp
|
|
|
|
OBJS= language.txt ${PGP_LANG}.hlp README.${PGP_LANG} \
|
|
|
|
${PGP_LANG}2.hlp
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
-[ -d ${PGPLIB} ] || { \
|
|
|
|
${MKDIR} ${PGPLIB} ; \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} bin.bin ${PGPLIB} ; \
|
|
|
|
${CHMOD} 555 ${PGPLIB} ; }
|
1998-09-17 14:14:50 +00:00
|
|
|
-[ -f ${PGPLIB}/language.txt ] && \
|
|
|
|
${MV} ${PGPLIB}/language.txt ${PGPLIB}/language.txt.bak
|
|
|
|
@cd ${WRKDIR}; \
|
|
|
|
${INSTALL_DATA} ${OBJS} ${PGPLIB}; \
|
|
|
|
${INSTALL_DATA} voca.txt dict.txt ${PGPLIB}
|
|
|
|
@cd ${PGPLIB}; \
|
|
|
|
${GREP} -l -q '^Language.*=.*${PGP_LANG}' config.txt || \
|
|
|
|
${SH} ${SCRIPTDIR}/pgp.config.l10n.sh \
|
|
|
|
${PGPLIB} ${PGP_LANG} ${PGP_CHARSET}
|
|
|
|
-pgp > /dev/null 2>&1 # update .idx file
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|