aboutsummaryrefslogtreecommitdiffstats
path: root/games/powerpak/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-04-18 01:42:28 +0800
committersobomax <sobomax@FreeBSD.org>2002-04-18 01:42:28 +0800
commitb08ec53511dc8956433713cdb16beb9a8a94d49a (patch)
tree9911804e1aa21e7968e34dcc8889bd3d1e764682 /games/powerpak/Makefile
parenta4dc6fdda6c87955a99bfc8df67a6e7f20a43dcb (diff)
downloadfreebsd-ports-gnome-b08ec53511dc8956433713cdb16beb9a8a94d49a.tar.gz
freebsd-ports-gnome-b08ec53511dc8956433713cdb16beb9a8a94d49a.tar.zst
freebsd-ports-gnome-b08ec53511dc8956433713cdb16beb9a8a94d49a.zip
- Update to 20000511;
- use delev/sdl12 instead of devel/sdl10.
Diffstat (limited to 'games/powerpak/Makefile')
-rw-r--r--games/powerpak/Makefile38
1 files changed, 17 insertions, 21 deletions
diff --git a/games/powerpak/Makefile b/games/powerpak/Makefile
index 9dc9da724b3d..c6d1b8bcda2e 100644
--- a/games/powerpak/Makefile
+++ b/games/powerpak/Makefile
@@ -6,41 +6,37 @@
#
PORTNAME= powerpak
-PORTVERSION= 991203
+PORTVERSION= 20000511
CATEGORIES= games
-MASTER_SITES= http://www.imperialpenguin.com/software/powerpak/
+MASTER_SITES= http://www.angelfire.com/va/powerpakgsdk/images/
DISTNAME= PowerPak
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
+
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_FREETYPE= yes
-MAKEFILE= Makefile.FreeBSD
INSTALLS_SHLIB= yes
+MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+MAKEFILE= Makefile.UNIX
post-extract:
- @ /usr/bin/find ${WRKSRC} -type f | xargs ${PERL} -pi -e 's/\r//g'
-
-pre-build:
- @ ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
+ @ /usr/bin/find ${WRKSRC} -type f | xargs ${PERL} -pi -e 's/\r//g ; \
+ s|"SDL/|"|g ; s|<SDL/|<|g'
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/libPP.a ${PREFIX}/lib
- @ ${INSTALL_DATA} ${WRKSRC}/libPP.so ${PREFIX}/lib
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/libPP.so.1 ${PREFIX}/lib
+ @ ${LN} -sf ${PREFIX}/lib/libPP.so.1 ${PREFIX}/lib/libPP.so
@ ${MKDIR} ${PREFIX}/include/PowerPak
- @ ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/PowerPak
- @ ${INSTALL_DATA} ${WRKSRC}/PowerDraw/*.h ${PREFIX}/include/PowerPak
- @ ${INSTALL_DATA} ${WRKSRC}/PowerInput/*.h ${PREFIX}/include/PowerPak
- @ ${MKDIR} ${PREFIX}/share/examples/PowerPak/PowerDraw
- @ ${INSTALL_DATA} ${WRKSRC}/PowerDraw/examples/Makefile.UNIX ${PREFIX}/share/examples/PowerPak/PowerDraw/Makefile
- @ ${INSTALL_DATA} ${WRKSRC}/PowerDraw/examples/*.c ${PREFIX}/share/examples/PowerPak/PowerDraw
- @ ${INSTALL_DATA} ${WRKSRC}/PowerDraw/examples/*.ttf ${PREFIX}/share/examples/PowerPak/PowerDraw
- @ ${INSTALL_DATA} ${WRKSRC}/PowerDraw/examples/*.pcx ${PREFIX}/share/examples/PowerPak/PowerDraw
- @ ${MKDIR} ${PREFIX}/share/examples/PowerPak/PowerInput
- @ ${INSTALL_DATA} ${WRKSRC}/PowerInput/examples/Makefile.UNIX ${PREFIX}/share/examples/PowerPak/PowerInput/Makefile
-.for file in ex1.c ex2.c ex3.c ex4.c ex5.c sprite.pcx
- @ ${INSTALL_DATA} ${WRKSRC}/PowerInput/examples/${file} ${PREFIX}/share/examples/PowerPak/PowerInput
+.for dir in . Power3D PowerDraw PowerInput PowerMedia PowerSound
+ @ ${INSTALL_DATA} ${WRKSRC}/${dir}/*.h ${PREFIX}/include/PowerPak
+ @ if [ -d ${WRKSRC}/${dir}/examples ]; then \
+ ${MKDIR} ${PREFIX}/share/examples/PowerPak/${dir}; \
+ ${INSTALL_DATA} ${WRKSRC}/${dir}/examples/* ${PREFIX}/share/examples/PowerPak/${dir}; \
+ fi
.endfor
.include <bsd.port.mk>