blob: 4bb560ff8f1ac6b79c6ad18d6e3a2c0b9d55a39d (
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
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= spacezero
PORTVERSION= 0.86.00
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20${PORTVERSION:R}/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D Real Time Strategy space combat game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
USES= openal:al,alut pkgconfig
USE_GNOME= gtk20
USE_XORG= x11
LLD_UNSAFE= yes
MAKE_ARGS= DATADIR="${DATADIR}" \
INSTALL_DATA_DIR="${DATADIR}"
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
LDFLAGS+= -lX11
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.ico
DESKTOP_ENTRIES="SpaceZero" \
"" \
"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
"${PORTNAME}" \
"Game;StrategyGame;" \
""
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/html/manual_files/space.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/dat && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|