Bug 170837

Summary: [NEW PORT] games/vectoroids: Vector-based rock-shooting game similar to Asteroids
Product: Ports & Packages Reporter: nemysis <nemysis>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: jgh
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
.shar
none
vectoroids.diff
none
vectoroids.diff none

Description nemysis 2012-08-22 00:00:24 UTC
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/


Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new)

How-To-Repeat: 
I wish to adopt this Port, have make all in this Ports new, not used Portrevision 13.

Have used

PORTREVISION=	14

because this Port in FreeBSD Tree have PORTREVISION 13.
Comment 1 nemysis 2012-09-09 03:35:18 UTC
This is not new Port, but i have made all new.
Comment 2 Steve Wills freebsd_committer freebsd_triage 2012-09-10 02:07:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

I'll take it.
Comment 3 nemysis 2012-09-10 02:15:53 UTC
Have changed before Header, sorry.
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-09-10 02:34:59 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Steve Wills freebsd_committer freebsd_triage 2012-09-10 02:35:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!