2001-04-17 14:12:21 -04:00
|
|
|
# New ports collection makefile for: pipenightdreams
|
|
|
|
# Date created: Apr 12, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pipenightdreams
|
2002-06-04 07:24:24 -04:00
|
|
|
PORTVERSION= 0.10.0
|
2001-04-17 14:12:21 -04:00
|
|
|
CATEGORIES= games
|
2001-08-29 07:18:40 -04:00
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/pipenightdreams/packages/
|
2001-04-17 14:12:21 -04:00
|
|
|
|
2001-06-08 01:36:46 -04:00
|
|
|
MAINTAINER= markp@FreeBSD.org
|
2003-02-22 12:14:31 -05:00
|
|
|
COMMENT= A puzzle game similar to PipeMania
|
2001-04-17 14:12:21 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
GNU_CONFIGURE= yes
|
2001-08-29 07:18:40 -04:00
|
|
|
USE_BZIP2= yes
|
2001-04-17 14:12:21 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
|
2003-02-10 08:26:24 -05:00
|
|
|
USE_REINPLACE= yes
|
2001-04-17 14:12:21 -04:00
|
|
|
|
2001-11-10 09:07:19 -05:00
|
|
|
MAN6= pipenightdreams.6
|
|
|
|
|
2003-02-10 08:26:24 -05:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g; \
|
2001-11-10 09:07:19 -05:00
|
|
|
s|SDL_LIBSS|SDL_LIBS|g; s|datadir/games|datadir|;' \
|
|
|
|
${WRKSRC}/configure
|
2003-02-10 08:26:24 -05:00
|
|
|
${FIND} ${WRKSRC} -name Makefile.in | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} 's|/games/|/|g; \
|
2001-08-29 07:18:40 -04:00
|
|
|
s/^pipenightdreams_LDADD.+//g;'
|
2003-02-10 08:26:24 -05:00
|
|
|
${REINPLACE_CMD} "s|/usr/share/games|${LOCALBASE}/share|g" \
|
|
|
|
${WRKSRC}/src/main.cpp
|
2001-04-17 14:12:21 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|