1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/japanese/zipcodes/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

29 lines
709 B
Makefile

# New ports collection makefile for: ja-zipcodes
# Version required: 19980130
# Date created: 5 Nov 1997
# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $Id: Makefile,v 1.9 1999/01/09 14:54:59 itojun Exp $
#
DISTNAME= ken_all
PKGNAME= ja-zipcodes-19980130
CATEGORIES= japanese misc
MASTER_SITES= http://www.postal.mpt.go.jp/lzh/ \
http://freefall.freebsd.org/~itojun/distfiles/
EXTRACT_SUFX= .lzh
MAINTAINER= itojun@itojun.org
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha \
nkf:${PORTSDIR}/japanese/nkf
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" SCRIPTDIR=${SCRIPTDIR}
.include <bsd.port.mk>