diff options
author | adamw <adamw@FreeBSD.org> | 2005-02-08 08:24:24 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2005-02-08 08:24:24 +0800 |
commit | 55413140bd951b64285d7ca056a0ed1fb97205ef (patch) | |
tree | 76eff0ad471342eebfffb4122661ec90d4a60f5c /games | |
parent | 447d9f17ee677a66f2827b3c348674a6d90b0e8a (diff) | |
download | freebsd-ports-gnome-55413140bd951b64285d7ca056a0ed1fb97205ef.tar.gz freebsd-ports-gnome-55413140bd951b64285d7ca056a0ed1fb97205ef.tar.zst freebsd-ports-gnome-55413140bd951b64285d7ca056a0ed1fb97205ef.zip |
Enable the background music.
Diffstat (limited to 'games')
-rw-r--r-- | games/tomatoes/Makefile | 6 | ||||
-rw-r--r-- | games/tomatoes/files/patch-makefile | 2 | ||||
-rw-r--r-- | games/tomatoes/pkg-plist | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile index 3f298ec2367b..9e02b9f9f132 100644 --- a/games/tomatoes/Makefile +++ b/games/tomatoes/Makefile @@ -7,6 +7,7 @@ PORTNAME= tomatoes PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,6 +17,8 @@ DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}5${EXTRACT_SUFX} \ MAINTAINER= ports@FreeBSD.org COMMENT= Tomato-smashing, Q-Bert style +LIB_DEPENDS= mikmod:${PORTSDIR}/audio/libmikmod + USE_BZIP2= yes WRKSRC= ${WRKDIR}/tomatoes-${PORTVERSION}5 TDATA= ${WRKDIR}/tomatoes-${PORTVERSION} @@ -23,12 +26,13 @@ TDATA= ${WRKDIR}/tomatoes-${PORTVERSION} USE_X_PREFIX= yes MAKEFILE= makefile USE_GMAKE= yes -USE_SDL= mixer image +USE_SDL= mixer image sound do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${DATADIR}/music ${INSTALL_DATA} ${TDATA}/config.cfg ${DATADIR} ${INSTALL_DATA} ${TDATA}/tomatoes.mpk ${DATADIR} + ${INSTALL_DATA} ${TDATA}/music/IHaveNoTomatoes.it ${DATADIR}/music .include <bsd.port.mk> diff --git a/games/tomatoes/files/patch-makefile b/games/tomatoes/files/patch-makefile index fc6a95ce06e5..9a11325a1620 100644 --- a/games/tomatoes/files/patch-makefile +++ b/games/tomatoes/files/patch-makefile @@ -56,7 +56,7 @@ -CFLAGS = -MMD -O3 -march=$(MARCH) -Wall $(SDL_FLAGS) -LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -s +CFLAGS += -MMD -march=$(MARCH) -Wall $(SDL_FLAGS) -I${X11BASE}/include -+LDFLAGS += `sdl11-config --libs` -L${X11BASE}/lib -lSDL_image -lSDL_mixer -lGL -lGLU -s ++LDFLAGS += `sdl11-config --libs` -L${X11BASE}/lib -lSDL_image -lSDL_mixer -lGL -lGLU -s -lSDL_sound endif endif diff --git a/games/tomatoes/pkg-plist b/games/tomatoes/pkg-plist index 773991606e11..c4a93a7d5805 100644 --- a/games/tomatoes/pkg-plist +++ b/games/tomatoes/pkg-plist @@ -1,7 +1,6 @@ bin/tomatoes -etc/tomatoes/config.cfg +share/tomatoes/config.cfg share/tomatoes/music/IHaveNoTomatoes.it share/tomatoes/tomatoes.mpk @dirrm share/tomatoes/music @dirrm share/tomatoes -@dirrm etc/tomatoes |