diff options
author | miwi <miwi@FreeBSD.org> | 2009-09-03 00:44:00 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-09-03 00:44:00 +0800 |
commit | 67096abc3380a8c94cbacfe02014f50cfff675de (patch) | |
tree | 0105473949925e88b0bb3e8c3ef9ed82429a0b9b /games | |
parent | b256f87061414d003bee348114eca47f17962950 (diff) | |
download | freebsd-ports-gnome-67096abc3380a8c94cbacfe02014f50cfff675de.tar.gz freebsd-ports-gnome-67096abc3380a8c94cbacfe02014f50cfff675de.tar.zst freebsd-ports-gnome-67096abc3380a8c94cbacfe02014f50cfff675de.zip |
- Update to 0.4
PR: 138453
Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r-- | games/kuklomenos/Makefile | 39 | ||||
-rw-r--r-- | games/kuklomenos/distinfo | 6 | ||||
-rw-r--r-- | games/kuklomenos/pkg-plist | 14 |
3 files changed, 46 insertions, 13 deletions
diff --git a/games/kuklomenos/Makefile b/games/kuklomenos/Makefile index 1df7dea3dc43..dff26c922245 100644 --- a/games/kuklomenos/Makefile +++ b/games/kuklomenos/Makefile @@ -6,22 +6,41 @@ # PORTNAME= kuklomenos -PORTVERSION= 0.3.3.1 -PORTREVISION= 1 +PORTVERSION= 0.4 CATEGORIES= games -MASTER_SITES= http://mbays.freeshell.org/kuklomenos/src/ LOCAL/chinsan/games +MASTER_SITES= http://mbays.freeshell.org/kuklomenos/src/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple but challenging abstract shoot-em-up game -USE_SDL= sdl gfx +LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl +OPTIONS= VORBIS "Enable Ogg/Vorbis support" on + +USE_SDL= sdl mixer GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include " \ - LDFLAGS="`${SDL_CONFIG} --libs` -L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --datadir=${DATADIR} + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_VORBIS) +CONFIGURE_ARGS+=--disable-sound +PLIST_SUB+= VORBIS="@comment " +.else +LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis +PLIST_SUB+= VORBIS="" +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + '/^sounds_DATA/s|Makefile.am||g' ${WRKSRC}/sounds/Makefile.in -PLIST_FILES= bin/kuklomenos %%DATADIR%%/10x20.fnt %%DATADIR%%/7x13.fnt \ - %%DATADIR%%/amiga_machines.mod -PLIST_DIRS= %%DATADIR%% +.if ${OSVERSION} < 700000 +IGNORE= does not compile +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/kuklomenos/distinfo b/games/kuklomenos/distinfo index 4679ecc290f8..3f04e5846a18 100644 --- a/games/kuklomenos/distinfo +++ b/games/kuklomenos/distinfo @@ -1,3 +1,3 @@ -MD5 (kuklomenos-0.3.3.1.tar.gz) = d32f3cabe4c01141fca233146e3ffb60 -SHA256 (kuklomenos-0.3.3.1.tar.gz) = 5075d7d2319c90c64be777506cfd006365f22d4743b0c80a33a2ceb1d7ed3043 -SIZE (kuklomenos-0.3.3.1.tar.gz) = 350449 +MD5 (kuklomenos-0.4.tar.gz) = 676fdec7389e6ed4bfffcfcb4f7d10a0 +SHA256 (kuklomenos-0.4.tar.gz) = 21e324a00b251bc3da13adcef6b9c9f94044bb60d180dbe047df03a315dc3d14 +SIZE (kuklomenos-0.4.tar.gz) = 361155 diff --git a/games/kuklomenos/pkg-plist b/games/kuklomenos/pkg-plist new file mode 100644 index 000000000000..eb7ddc91e051 --- /dev/null +++ b/games/kuklomenos/pkg-plist @@ -0,0 +1,14 @@ +bin/kuklomenos +%%DATADIR%%/fonts/10x20.fnt +%%DATADIR%%/fonts/7x13.fnt +%%VORBIS%%%%DATADIR%%/sounds/hum.ogg +%%VORBIS%%%%DATADIR%%/sounds/invdie.ogg +%%VORBIS%%%%DATADIR%%/sounds/invhit.ogg +%%VORBIS%%%%DATADIR%%/sounds/mutilation.ogg +%%VORBIS%%%%DATADIR%%/sounds/primed.ogg +%%VORBIS%%%%DATADIR%%/sounds/shield.ogg +%%VORBIS%%%%DATADIR%%/sounds/shot.ogg +%%VORBIS%%%%DATADIR%%/sounds/spark.ogg +%%VORBIS%%@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%% |