mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Enable the background music.
This commit is contained in:
parent
1437004df7
commit
e9e86b286f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128250
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user