6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
39 lines
974 B
Makefile
39 lines
974 B
Makefile
# New ports collection makefile for: afternoonstalker
|
|
# Date created: Feb 15, 2003
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= afternoonstalker
|
|
PORTVERSION= 1.1.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \
|
|
LOCAL/martymac
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= A clone of the 1981 Night Stalker video game
|
|
|
|
LIB_DEPENDS= flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_SDL= mixer sdl
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAN6= afternoonstalker.6
|
|
PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
|
|
${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|docdir = .*|docdir = ${DOCSDIR}|' \
|
|
${WRKSRC}/Makefile.in
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -e '/^install-data-am/s|install-docDATA||' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|