blob: 87a419fecc21abfd536203cd721a45ed7d470d47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: vectoroids
# Date created: 27 June 2003
# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vectoroids
PORTVERSION= 1.1.0
PORTREVISION= 14
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/ \
ftp://ftp.billsgames.com/unix/x/vectoroids/src/
MAINTAINER= nemysis@gmx.ch
COMMENT= Vector-based rock-shooting game similar to Asteroids
LICENSE= GPLv2
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:
# 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>
|