2001-04-10 16:27:44 -04:00
|
|
|
# New ports collection makefile for: penguin-command
|
|
|
|
# Date created: Apr 4, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= penguin-command
|
2001-11-10 20:30:04 -05:00
|
|
|
PORTVERSION= 1.6.2
|
2001-04-10 16:27:44 -04:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.linux-games.com/penguin-command/
|
|
|
|
|
2001-06-08 01:36:46 -04:00
|
|
|
MAINTAINER= markp@FreeBSD.org
|
2001-04-10 16:27:44 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
2001-09-10 23:32:41 -04:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2001-04-10 16:27:44 -04:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
MAN6= penguin-command.6
|
|
|
|
|
2001-06-14 01:49:14 -04:00
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/src/*.[ch]
|
|
|
|
${PERL} -pi -e "s/ -lz -lSDL -lm/ -lz -lm/g" ${WRKSRC}/configure
|
2001-04-10 16:27:44 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|