mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
5114e2637e
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.
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection makefile for: games
|
|
# Version required: 1.8
|
|
# Date created: Mon Dec 14 21:03:01 MET 1998
|
|
# Whom: jmz
|
|
#
|
|
# $Id: Makefile,v 1.9 1999/01/18 08:44:41 asami Exp $
|
|
#
|
|
|
|
DISTNAME= doomsrc-1.8
|
|
PKGNAME= doom-1.8
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/source/ \
|
|
ftp://ftp.stomped.com/pub/idmirror/idstuff/source/ \
|
|
ftp://ftp.cdrom.com/pub/idgames/idstuff/source/ \
|
|
ftp://ftp.gamesnet.net/idsoftware/source/
|
|
DISTFILES= doomsrc.zip
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
USE_XLIB= yes
|
|
EXTRACT_CMD= unzip
|
|
EXTRACT_BEFORE_ARGS= -q
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
NO_WRKSUBDIR= yes
|
|
USE_GMAKE= yes
|
|
|
|
post-extract:
|
|
@cd ${WRKDIR} && tar xzf linuxdoom-1.10.src.tgz && tar xzf sndserv.tgz
|
|
|
|
do-build:
|
|
@cd ${WRKDIR}/linuxdoom-1.10 && ${GMAKE}
|
|
@cd ${WRKDIR}/sndserv && ${GMAKE}
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKDIR}/linuxdoom-1.10/linux/linuxxdoom ${PREFIX}/bin/doom
|
|
@${INSTALL_PROGRAM} ${WRKDIR}/sndserv/linux/sndserver ${PREFIX}/bin/sndserver
|
|
|
|
.include <bsd.port.mk>
|