freebsd-ports/games/pipenightdreams/Makefile

35 lines
931 B
Makefile
Raw Normal View History

# New ports collection makefile for: pipenightdreams
# Date created: Apr 12, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= pipenightdreams
2001-11-10 09:07:19 -05:00
PORTVERSION= 0.9.0
CATEGORIES= games
2001-08-29 07:18:40 -04:00
MASTER_SITES= http://www.libsdl.org/projects/pipenightdreams/packages/
MAINTAINER= markp@FreeBSD.org
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
USE_GMAKE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
2001-11-10 09:07:19 -05:00
MAN6= pipenightdreams.6
pre-patch:
2001-11-10 09:07:19 -05:00
@${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g; \
s|SDL_LIBSS|SDL_LIBS|g; s|datadir/games|datadir|;' \
${WRKSRC}/configure
@find ${WRKSRC} -name Makefile.in | \
2001-08-29 07:18:40 -04:00
xargs ${PERL} -pi -e 's|/games/|/|g; \
s/^pipenightdreams_LDADD.+//g;'
@${PERL} -pi -e "s|/usr/share/games|${LOCALBASE}/share|g" ${WRKSRC}/src/main.cpp
.include <bsd.port.mk>