1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/astro/luna/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
662 B
Makefile

# New ports collection makefile for: luna
# Version required: 1.9
# Date created: 03 July 1996
# Whom: ABURAYER Rewsirow <rewsirow@ff.iij4u.or.jp>
#
# $Id: Makefile,v 1.4 1998/09/26 23:24:34 steve Exp $
#
DISTNAME= luna19
PKGNAME= luna-1.9
CATEGORIES= astro games
MASTER_SITES= ftp://ftp.ae.keio.ac.jp/pub/msdos/utils/
EXTRACT_SUFX= .lzh
MAINTAINER= rewsirow@ff.iij4u.or.jp
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= xfw=${WRKDIR}
EXTRACT_AFTER_ARGS= # empty
PATCH_STRIP= -p1
post-extract:
@echo "===> Removing object files for ${DISTNAME}"
@(cd ${WRKDIR}/luna19/iprintf; ${RM} -fr *.o)
.include <bsd.port.mk>