1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/pgp.language/Makefile
Satoshi Asami 5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00

54 lines
1.4 KiB
Makefile

# 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: Makefile,v 1.4 1998/10/16 03:42:28 jseger Exp $
#
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
RESTRICTED= "Crypto"
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
EXTRACT_CMD= unzip
EXTRACT_BEFORE_ARGS= -q
EXTRACT_AFTER_ARGS= # empty
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>