mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- 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>
This commit is contained in:
parent
4ccfe04bf0
commit
6eb0babadf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304008
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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/
|
||||
|
@ -1,21 +0,0 @@
|
||||
bin/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
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%/music
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user