aboutsummaryrefslogtreecommitdiff
path: root/games/afternoonstalker/Makefile
blob: b5c864e07770a815b2b81a510eaf5b3e56501e4f (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
# New ports collection makefile for:	afternoonstalker
# Date created:			Feb 15, 2003
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	afternoonstalker
PORTVERSION=	1.1.1
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www3.sympatico.ca/sarrazip/dev/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A clone of the 1981 Night Stalker video game

LIB_DEPENDS=	gengameng.4:${PORTSDIR}/devel/gengameng \
		flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra

USE_SDL=	mixer sdl
USE_GETOPT_LONG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN6=		afternoonstalker.6

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS=	AUTHORS COPYING INSTALL NEWS README THANKS TODO

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib

post-patch:
	${REINPLACE_CMD} "s@sounds/..PACKAGE.@afternoonstalker/sounds@g" \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>