Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 01:34:43 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304008 - in head/games/vectoroids: . files
Message-ID:  <201209100134.q8A1YhG2068805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Sep 10 01:34:42 2012
New Revision: 304008
URL: http://svn.freebsd.org/changeset/ports/304008

Log:
  - Add second MASTER_SITES entry
  - Avoid pkg-plist due to short plist
  - Give maintainership to submitter
  
  PR:		ports/170837
  Submitted by:	nemysis <nemysis@gmx.ch>

Deleted:
  head/games/vectoroids/pkg-plist
Modified:
  head/games/vectoroids/Makefile   (contents, props changed)
  head/games/vectoroids/files/patch-Makefile   (contents, props changed)
  head/games/vectoroids/pkg-descr   (contents, props changed)

Modified: head/games/vectoroids/Makefile
==============================================================================
--- head/games/vectoroids/Makefile	Mon Sep 10 00:55:39 2012	(r304007)
+++ head/games/vectoroids/Makefile	Mon Sep 10 01:34:42 2012	(r304008)
@@ -7,27 +7,46 @@
 
 PORTNAME=	vectoroids
 PORTVERSION=	1.1.0
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.billsgames.com/unix/x/vectoroids/src/
+MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/ \
+		ftp://ftp.billsgames.com/unix/x/vectoroids/src/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A vector-based, pretty, Asteroids clone
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Vector-based rock-shooting game similar to Asteroids
+
+LICENSE=	GPLv2
 
-USE_SDL=	image mixer sdl
 USE_GMAKE=	yes
+USE_SDL=	image mixer sdl
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
+
+MAN6=		${PORTNAME}.6
+
+PORTDATA=	*
+PORTDOCS=	CHANGES.txt README.txt
+
+.include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/vectoroids ${PREFIX}/bin
-	@${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} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README
+# Executable
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Data
+	(cd ${WRKSRC}/data && ${COPYTREE_SHARE} "images music sounds" ${DATADIR})
+
+# Pixmaps
+	${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+.  for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.  endfor
 .endif
+	${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
 
 .include <bsd.port.mk>

Modified: head/games/vectoroids/files/patch-Makefile
==============================================================================
--- head/games/vectoroids/files/patch-Makefile	Mon Sep 10 00:55:39 2012	(r304007)
+++ head/games/vectoroids/files/patch-Makefile	Mon Sep 10 01:34:42 2012	(r304008)
@@ -1,25 +0,0 @@
---- 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
- 
- 
--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 $(SDL_CONFIG) --libs) $(MIXER) -lSDL_image
- 
- NOSOUNDFLAG=__SOUND
- MIXER=-lSDL_mixer
- 
--CFLAGS=-Wall -Wno-long-long -pedantic -ansi -O2 \
--	$(shell sdl-config --cflags) -D$(NOSOUNDFLAG) \
-+CFLAGS+= \
-+	$(shell $(SDL_CONFIG) --cflags) -D$(NOSOUNDFLAG) \
- 	-DDATA_PREFIX=\"$(DATA_PREFIX)\" -DJOY_$(JOY) -D$(TARGET_DEF)
- 
- 

Modified: head/games/vectoroids/pkg-descr
==============================================================================
--- head/games/vectoroids/pkg-descr	Mon Sep 10 00:55:39 2012	(r304007)
+++ head/games/vectoroids/pkg-descr	Mon Sep 10 01:34:42 2012	(r304008)
@@ -1,4 +1,6 @@
-Vectoroids is an SDL Asteroids clone, with quick game-play and pretty
-good graphics.
+Vectoroids is a vector-based rock-shooting game similar to the
+arcade classic "Asteroids".  It is an SDL game based on the source for
+"Agendaroids", an X-Window game written for the Agenda VR3 Linux-based PDA
+written by the same author.
 
 WWW: http://www.newbreedsoftware.com/vectoroids/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209100134.q8A1YhG2068805>