aboutsummaryrefslogtreecommitdiffstats
path: root/games/linuxdoom/Makefile
blob: c56fc6b661ae07b9e65bc43c774b0d6f136bfcd5 (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
# New ports collection makefile for:    linux doom
# Date created:         Mon Dec  9 09:42:37 CST 1996
# Whom:                 erich@rrnet.com
#
# $FreeBSD$
#

PORTNAME=   linuxdoom
PORTVERSION=    1.8
CATEGORIES= games linux
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/doom
DISTNAME=   doom-${PORTVERSION}
DISTFILES=  linux-doom-1.8.tar.gz musserver.tgz smooth-joystick4doom.tgz

MAINTAINER= erich@FreeBSD.org

BUILD_DEPENDS=  /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base
RUN_DEPENDS=    /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base

USE_XLIB=   yes
NO_WRKSUBDIR=   yes
PKGINSTALL= ${WRKDIR}/INSTALL

post-patch:
    @(cd ${WRKSRC}/joystick4doom; make clean)
    @(cd ${WRKSRC}/musserver; make clean)

pre-install:
    @${SED} 's,@PREFIX@,${PREFIX},' ${PKGDIR}/INSTALL.in > ${PKGINSTALL}

post-install:
    @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>