diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-07-25 11:56:48 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-07-25 11:56:48 +0000 |
commit | cfa62002fae3ecf9d95b2704c5a6fb3106ed5955 (patch) | |
tree | c8cbb82bc9896d008b6a43e6c425c35cff6ee8d3 /games/ri-li/Makefile | |
parent | 9a74edf16627f0839415c57ce91636a70d3eb2bd (diff) |
Notes
Diffstat (limited to 'games/ri-li/Makefile')
-rw-r--r-- | games/ri-li/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games/ri-li/Makefile b/games/ri-li/Makefile new file mode 100644 index 000000000000..58a8a5a2dba4 --- /dev/null +++ b/games/ri-li/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: Ri-li +# Date created: 03 Jul 2006 +# Whom: Dmitry Marakasov <amdmi3@mail.ru> +# +# $FreeBSD$ +# + +PORTNAME= Ri-li +PORTVERSION= 1.0.3 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ri-li + +MAINTAINER= amdmi3@mail.ru +COMMENT= Drive a toy wood train in many levels - snake-like arcade game + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_SDL= sdl mixer + +CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${X11BASE}/include" + +post-patch: + @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/*.cc ${WRKSRC}/src/*.h + @${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc + +.include <bsd.port.mk> |