2001-04-10 22:27:44 +02:00
|
|
|
# New ports collection makefile for: penguin-command
|
|
|
|
# Date created: Apr 4, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= penguin-command
|
2004-01-06 05:35:39 +01:00
|
|
|
PORTVERSION= 1.6.6
|
2001-04-10 22:27:44 +02:00
|
|
|
CATEGORIES= games
|
2002-06-04 13:08:23 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-04-10 22:27:44 +02:00
|
|
|
|
2001-06-08 07:36:46 +02:00
|
|
|
MAINTAINER= markp@FreeBSD.org
|
2003-02-22 18:14:31 +01:00
|
|
|
COMMENT= A clone of the classic game Missile Command
|
2001-04-10 22:27:44 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
2002-10-05 22:20:35 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
2001-04-10 22:27:44 +02:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
|
2003-02-10 14:21:21 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-04-10 22:27:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-06-04 13:08:23 +02:00
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2004-01-06 05:35:39 +01:00
|
|
|
CONFIGURE_TARGET=
|
2001-04-10 22:27:44 +02:00
|
|
|
MAN6= penguin-command.6
|
|
|
|
|
2001-06-14 07:49:14 +02:00
|
|
|
post-patch:
|
2003-02-10 14:21:21 +01:00
|
|
|
${REINPLACE_CMD} 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' \
|
2001-06-14 07:49:14 +02:00
|
|
|
${WRKSRC}/configure ${WRKSRC}/src/*.[ch]
|
2003-02-10 14:21:21 +01:00
|
|
|
${REINPLACE_CMD} 's/ -lz -lSDL -lm/ -lz -lm/g' ${WRKSRC}/configure
|
2001-04-10 22:27:44 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|