diff options
author | Steve Price <steve@FreeBSD.org> | 1998-02-23 20:19:55 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-02-23 20:19:55 +0000 |
commit | 6c77e2cb8825ae47e058020cdf2edbe7c10a4e96 (patch) | |
tree | 4b460d482502af00b9ad25d23c1ae538d862c1cb /japanese/pgp.language/Makefile | |
parent | 1228e19eb6c1d2d360088886f42cb0729b37aab1 (diff) | |
download | ports-6c77e2cb8825ae47e058020cdf2edbe7c10a4e96.tar.gz ports-6c77e2cb8825ae47e058020cdf2edbe7c10a4e96.zip |
Notes
Diffstat (limited to 'japanese/pgp.language/Makefile')
-rw-r--r-- | japanese/pgp.language/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/japanese/pgp.language/Makefile b/japanese/pgp.language/Makefile new file mode 100644 index 000000000000..302f0c422dd5 --- /dev/null +++ b/japanese/pgp.language/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: pgp.language (japanese) +# Version required: 2.6.3ia +# Date created: 9 May 1997 +# Whom: Hironori Ikura <hikura@kaisei.org> +# +# $Id$ +# + +DISTNAME= pgp263i-${PGP_LANGUAGE} +PKGNAME= jp-pgp-2.6.3 +CATEGORIES= japanese security +MASTER_SITES= ftp://ftp.win.or.jp/pub/network/pgp/2.x/lang/ \ + ftp://ftp.ifi.uio.no/pub/pgp/2.x/lang/ +EXTRACT_SUFX= .zip + +MAINTAINER= hikura@kaisei.org + +BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip +RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp + +EXTRACT_CMD= unzip +EXTRACT_ARGS= -q +NO_CONFIGURE= YES +NO_PATCH= YES +NO_BUILD= YES + +# version and language specifications +PGP_LANGUAGE= japanese +PGP_LANG= ja +PGP_CHARSET= noconv + +PGPLIB= ${PREFIX}/lib/pgp +OBJS= language.txt ${PGP_LANG}.hlp README.${PGP_LANG} + +do-install: + -[ -d ${PGPLIB} ] || { \ + ${MKDIR} ${PGPLIB} ; \ + chown bin.bin ${PGPLIB} ; \ + chmod 555 ${PGPLIB} ; } + -[ -f ${PGPLIB}/language.txt ] && \ + ${MV} ${PGPLIB}/language.txt ${PGPLIB}/language.txt.bak + @cd ${WRKSRC}; \ + ${INSTALL_DATA} ${OBJS} ${PGPLIB}; \ + ${INSTALL_DATA} memo ${PGPLIB}/memo.ja + @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> |