aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom/Makefile
blob: 3eca12980ff93005253d008ac1678efb4d8d7138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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>