1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-28 21:29:28 +00:00
freebsd-ports/math/calc/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

28 lines
615 B
Makefile

# New ports collection makefile for: calc
# Version required: 2.9.3t6
# Date created: 3 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.11 1998/06/04 17:13:49 smace Exp $
#
DISTNAME= calc-2.9.3t6
PKGNAME= calc-2.9.3
CATEGORIES= math
MASTER_SITES= ftp://ftp.cdrom.com/pub/bsd-sources/4.4BSD-Lite/usr/src/contrib/
EXTRACT_SUFX= .tar
MAINTAINER= jmz@FreeBSD.org
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
MAN1= calc.1
IGNOREFILES= ${DISTFILES} # "on-the-fly" creation of tarball
pre-install:
@${MKDIR} ${PREFIX}/lib/calc/help
.include <bsd.port.mk>