1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/japanese/pgp.language/Makefile
Will Andrews 0021ab72bb Fix issues with the PGPLIB change made some time ago (broken alpha build,
broken language pgp ports).

Nagged by:	kris
2003-06-25 04:55:03 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: pgp.language (japanese)
# Date created: 9 May 1997
# Whom: Hironori Ikura <hikura@kaisei.org>
#
# $FreeBSD$
#
PORTNAME= pgp
PORTVERSION= 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/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}i-japanese
MAINTAINER= hikura@kaisei.org
COMMENT= Japanese language module for PGP
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
USE_ZIP= YES
NO_BUILD= YES
# version and language specifications
PGP_LANGUAGE= japanese
PGP_LANG= ja
PGP_CHARSET= noconv
PGPLIB= ${PREFIX}/share/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} ${PKGMESSAGE}
.include <bsd.port.mk>