aboutsummaryrefslogtreecommitdiffstats
path: root/games/linuxdoom/Makefile
blob: fb57f0df682a944526a30eb397ce92ee326c3d09 (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
# 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= ports@FreeBSD.org

BROKEN=     "Linux dynamic linker problems"

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}/pkg-install

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

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

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

.include <bsd.port.mk>