mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
38 lines
930 B
Makefile
38 lines
930 B
Makefile
# New ports collection makefile for: pipenightdreams
|
|
# Date created: Apr 12, 2001
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pipenightdreams
|
|
PORTVERSION= 0.10.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.libsdl.org/projects/pipenightdreams/packages/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A puzzle game similar to PipeMania
|
|
|
|
USE_SDL= image sdl
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
MAN6= pipenightdreams.6
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} '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 | \
|
|
${XARGS} ${REINPLACE_CMD} 's|/games/|/|g; \
|
|
s/^pipenightdreams_LDADD.+//g;'
|
|
${REINPLACE_CMD} "s|/usr/share/games|${LOCALBASE}/share|g" \
|
|
${WRKSRC}/src/main.cpp
|
|
|
|
.include <bsd.port.post.mk>
|