diff options
author | kris <kris@FreeBSD.org> | 2003-06-27 17:11:21 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-06-27 17:11:21 +0800 |
commit | 7b6dd4056c9b5e9341adb0817a8a7c77736d2a9c (patch) | |
tree | 0585b99cd2f2e81e88f69845b447b0a839500858 /games | |
parent | 45312ab3680e342e5f058632bf76c0707e204e31 (diff) | |
download | freebsd-ports-gnome-7b6dd4056c9b5e9341adb0817a8a7c77736d2a9c.tar.gz freebsd-ports-gnome-7b6dd4056c9b5e9341adb0817a8a7c77736d2a9c.tar.zst freebsd-ports-gnome-7b6dd4056c9b5e9341adb0817a8a7c77736d2a9c.zip |
Add vectoroids 1.1.0.
Vectoroids is an SDL Asteroids clone, with quick game-play and pretty
good graphics.
Obtained from: OpenBSD
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/vectoroids/Makefile | 36 | ||||
-rw-r--r-- | games/vectoroids/distinfo | 3 | ||||
-rw-r--r-- | games/vectoroids/files/patch-Makefile | 24 | ||||
-rw-r--r-- | games/vectoroids/pkg-descr | 4 | ||||
-rw-r--r-- | games/vectoroids/pkg-plist | 21 |
6 files changed, 89 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index e05f973b1436..0b98f33d0379 100644 --- a/games/Makefile +++ b/games/Makefile @@ -366,6 +366,7 @@ SUBDIR += utserver-asu SUBDIR += utserver-to SUBDIR += vamos + SUBDIR += vectoroids SUBDIR += virt SUBDIR += wmeyes SUBDIR += wmfortune diff --git a/games/vectoroids/Makefile b/games/vectoroids/Makefile new file mode 100644 index 000000000000..07e5aa222dcc --- /dev/null +++ b/games/vectoroids/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: vectoroids +# Date created: 27 June 2003 +# Whom: Kris Kennaway <kris@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= vectoroids +PORTVERSION= 1.1.0 +CATEGORIES= games +MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= "vector-based, pretty, Asteroids clone" + +LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \ + SDL_image.10:${PORTSDIR}/graphics/sdl_image + +USE_X_PREFIX= 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 +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/vectoroids + ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/vectoroids/README +.endif + +.include <bsd.port.mk> diff --git a/games/vectoroids/distinfo b/games/vectoroids/distinfo new file mode 100644 index 000000000000..10038ba79cf7 --- /dev/null +++ b/games/vectoroids/distinfo @@ -0,0 +1,3 @@ +MD5 (vectoroids-1.1.0.tar.gz) = c63ce56b09aa7da9a6e95d804e9ee314 +RMD160 (vectoroids-1.1.0.tar.gz) = 589c9e90c74c378c70c1a73042815325db20742b +SHA1 (vectoroids-1.1.0.tar.gz) = 899caf5fa7b8fc7e2c6292ba02057a50a0a254a7 diff --git a/games/vectoroids/files/patch-Makefile b/games/vectoroids/files/patch-Makefile new file mode 100644 index 000000000000..c7b53bcade84 --- /dev/null +++ b/games/vectoroids/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Sat Apr 13 17:51:14 2002 ++++ Makefile Fri Jun 27 02:02:00 2003 +@@ -9,19 +9,18 @@ + # November 30, 2001 - April 13, 2002 + + +-PREFIX=/usr/local + MAN_PREFIX=$(PREFIX) + BIN_PREFIX=$(PREFIX)/bin + DATA_PREFIX=$(PREFIX)/share/vectoroids/ + JOY=YES + TARGET_DEF=LINUX +-SDL_LIB=$(shell sdl-config --libs) $(MIXER) -lSDL_image ++SDL_LIB=$(shell sdl11-config --libs) $(MIXER) -lSDL_image + + NOSOUNDFLAG=__SOUND + MIXER=-lSDL_mixer + + CFLAGS=-Wall -Wno-long-long -pedantic -ansi -O2 \ +- $(shell sdl-config --cflags) -D$(NOSOUNDFLAG) \ ++ $(shell sdl11-config --cflags) -D$(NOSOUNDFLAG) \ + -DDATA_PREFIX=\"$(DATA_PREFIX)\" -DJOY_$(JOY) -D$(TARGET_DEF) + + diff --git a/games/vectoroids/pkg-descr b/games/vectoroids/pkg-descr new file mode 100644 index 000000000000..4e9fbfcdd174 --- /dev/null +++ b/games/vectoroids/pkg-descr @@ -0,0 +1,4 @@ +Vectoroids is an SDL Asteroids clone, with quick game-play and pretty +good graphics. + +WWW: http://www.newbreedsoftware.com/vectoroids/ diff --git a/games/vectoroids/pkg-plist b/games/vectoroids/pkg-plist new file mode 100644 index 000000000000..723ea5ac1752 --- /dev/null +++ b/games/vectoroids/pkg-plist @@ -0,0 +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 +@dirrm share/vectoroids/sounds +@dirrm share/vectoroids/music +@dirrm share/vectoroids/images +@dirrm share/vectoroids +%%PORTDOCS%%@dirrm share/doc/vectoroids |