ports/56038: Update port: games/vectoroids
KATO Tsuguru
tkato at prontomail.com
Wed Aug 27 15:10:33 UTC 2003
>Number: 56038
>Category: ports
>Synopsis: Update port: games/vectoroids
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 27 08:10:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CFLAGS properly
- Utilize USE_SDL
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/vectoroids/Makefile games/vectoroids/Makefile
--- /usr/ports/games/vectoroids/Makefile Fri Jun 27 18:11:21 2003
+++ games/vectoroids/Makefile Wed Aug 27 22:12:15 2003
@@ -7,30 +7,31 @@
PORTNAME= vectoroids
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/src/
MAINTAINER= ports at FreeBSD.org
-COMMENT= "vector-based, pretty, Asteroids clone"
+COMMENT= A vector-based, pretty, Asteroids clone
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
- SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
-USE_X_PREFIX= YES
-USE_GMAKE= YES
+USE_X_PREFIX= yes
+USE_SDL= yes
+USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/vectoroids/images
- ${INSTALL_DATA} ${WRKSRC}/data/images/* ${PREFIX}/share/vectoroids/images
- ${MKDIR} ${PREFIX}/share/vectoroids/music
- ${INSTALL_DATA} ${WRKSRC}/data/music/* ${PREFIX}/share/vectoroids/music
- ${MKDIR} ${PREFIX}/share/vectoroids/sounds
- ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${PREFIX}/share/vectoroids/sounds
+ @${MKDIR} ${DATADIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/data/images/* ${DATADIR}/images
+ @${MKDIR} ${DATADIR}/music
+ ${INSTALL_DATA} ${WRKSRC}/data/music/* ${DATADIR}/music
+ @${MKDIR} ${DATADIR}/sounds
+ ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/vectoroids
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/vectoroids/README
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README
.endif
.include <bsd.port.mk>
diff -urN /usr/ports/games/vectoroids/files/patch-Makefile games/vectoroids/files/patch-Makefile
--- /usr/ports/games/vectoroids/files/patch-Makefile Fri Jun 27 18:11:21 2003
+++ games/vectoroids/files/patch-Makefile Wed Aug 27 22:16:18 2003
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Apr 13 17:51:14 2002
-+++ Makefile Fri Jun 27 02:02:00 2003
+--- Makefile.orig Sun Apr 14 09:51:14 2002
++++ Makefile Wed Aug 27 22:16:03 2003
@@ -9,19 +9,18 @@
# November 30, 2001 - April 13, 2002
@@ -11,14 +11,15 @@
JOY=YES
TARGET_DEF=LINUX
-SDL_LIB=$(shell sdl-config --libs) $(MIXER) -lSDL_image
-+SDL_LIB=$(shell sdl11-config --libs) $(MIXER) -lSDL_image
++SDL_LIB=$(shell $(SDL_CONFIG) --libs) $(MIXER) -lSDL_image
NOSOUNDFLAG=__SOUND
MIXER=-lSDL_mixer
- CFLAGS=-Wall -Wno-long-long -pedantic -ansi -O2 \
+-CFLAGS=-Wall -Wno-long-long -pedantic -ansi -O2 \
- $(shell sdl-config --cflags) -D$(NOSOUNDFLAG) \
-+ $(shell sdl11-config --cflags) -D$(NOSOUNDFLAG) \
++CFLAGS+= \
++ $(shell $(SDL_CONFIG) --cflags) -D$(NOSOUNDFLAG) \
-DDATA_PREFIX=\"$(DATA_PREFIX)\" -DJOY_$(JOY) -D$(TARGET_DEF)
diff -urN /usr/ports/games/vectoroids/pkg-plist games/vectoroids/pkg-plist
--- /usr/ports/games/vectoroids/pkg-plist Fri Jun 27 18:11:21 2003
+++ games/vectoroids/pkg-plist Wed Aug 27 22:06:05 2003
@@ -1,21 +1,21 @@
bin/vectoroids
-%%PORTDOCS%%share/doc/vectoroids/README
-share/vectoroids/images/icon.png
-share/vectoroids/images/redspot-e.bmp
-share/vectoroids/images/redspot.jpg
-share/vectoroids/music/decision.s3m
-share/vectoroids/music/decision.txt
-share/vectoroids/sounds/ast1.wav
-share/vectoroids/sounds/ast2.wav
-share/vectoroids/sounds/ast3.wav
-share/vectoroids/sounds/ast4.wav
-share/vectoroids/sounds/bullet.wav
-share/vectoroids/sounds/explode.wav
-share/vectoroids/sounds/extralife.wav
-share/vectoroids/sounds/gameover.wav
-share/vectoroids/sounds/thrust.wav
- at dirrm share/vectoroids/sounds
- at dirrm share/vectoroids/music
- at dirrm share/vectoroids/images
- at dirrm share/vectoroids
-%%PORTDOCS%%@dirrm share/doc/vectoroids
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/images/icon.png
+%%DATADIR%%/images/redspot-e.bmp
+%%DATADIR%%/images/redspot.jpg
+%%DATADIR%%/music/decision.s3m
+%%DATADIR%%/music/decision.txt
+%%DATADIR%%/sounds/ast1.wav
+%%DATADIR%%/sounds/ast2.wav
+%%DATADIR%%/sounds/ast3.wav
+%%DATADIR%%/sounds/ast4.wav
+%%DATADIR%%/sounds/bullet.wav
+%%DATADIR%%/sounds/explode.wav
+%%DATADIR%%/sounds/extralife.wav
+%%DATADIR%%/sounds/gameover.wav
+%%DATADIR%%/sounds/thrust.wav
+ at dirrm %%DATADIR%%/sounds
+ at dirrm %%DATADIR%%/music
+ at dirrm %%DATADIR%%/images
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list