blob: 2a241d6cde2eb86e77426c422f8bffd094f8c024 (
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
53
54
55
56
57
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= sea-defender
PORTVERSION= 0.9
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/:DEFAULT,icon \
SF/nemysisfreebsdp/:icon
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}.png:icon
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple missile command clone
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw2
USE_GITHUB= yes
GH_ACCOUNT= snoutmate
GH_PROJECT= Sea-Defender
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= d628051
USES= gmake
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
USE_XORG= x11 xrandr
SUB_FILES= ${PORTNAME}.sh
PLIST_FILES= bin/${PORTNAME} \
libexec/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= *
DESKTOP_ENTRIES="Sea Defender" \
"${COMMENT}" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|