Lines 2-43
Link Here
|
2 |
# $FreeBSD: head/games/sea-defender/Makefile 328711 2013-09-29 17:01:41Z zeising $ |
2 |
# $FreeBSD: head/games/sea-defender/Makefile 328711 2013-09-29 17:01:41Z zeising $ |
3 |
|
3 |
|
4 |
PORTNAME= sea-defender |
4 |
PORTNAME= sea-defender |
5 |
PORTVERSION= r20100723 |
5 |
PORTVERSION= 0.9 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= games |
6 |
CATEGORIES= games |
8 |
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ |
7 |
MASTER_SITES= SF/nemysisfreebsdp/:icons |
|
|
8 |
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ |
9 |
${PORTNAME}.png:icons |
10 |
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} |
9 |
|
11 |
|
10 |
MAINTAINER= amdmi3@FreeBSD.org |
12 |
MAINTAINER= amdmi3@FreeBSD.org |
11 |
COMMENT= Simple missile command clone |
13 |
COMMENT= Simple missile command clone |
12 |
|
14 |
|
13 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw |
15 |
LICENSE= MIT |
14 |
|
16 |
|
15 |
USE_BZIP2= yes |
17 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw2 |
16 |
USE_GMAKE= yes |
18 |
|
|
|
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= snoutmate |
21 |
GH_PROJECT= Sea-Defender |
22 |
GH_TAGNAME= ${GH_COMMIT} |
23 |
GH_COMMIT= d628051 |
24 |
|
25 |
USES= gmake |
17 |
USE_SDL= sdl mixer image ttf |
26 |
USE_SDL= sdl mixer image ttf |
18 |
USE_GL= gl glu |
27 |
USE_GL= gl glu |
19 |
USE_XORG= x11 xrandr |
28 |
USE_XORG= x11 xrandr |
20 |
|
29 |
|
21 |
SUB_FILES= ${PORTNAME}.sh |
30 |
SUB_FILES= ${PORTNAME}.sh |
22 |
PLIST_FILES= libexec/${PORTNAME} bin/${PORTNAME} |
31 |
PLIST_FILES= libexec/${PORTNAME} \ |
23 |
|
32 |
bin/${PORTNAME} \ |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
33 |
share/pixmaps/${PORTNAME}.png |
25 |
|
34 |
|
26 |
PORTDOCS= README |
35 |
PORTDOCS= README |
27 |
|
36 |
|
28 |
NO_STAGE= yes |
37 |
OPTIONS_DEFINE= DOCS |
|
|
38 |
|
39 |
DESKTOP_ENTRIES="Sea Defender" "${COMMENT}" "${PORTNAME}" \ |
40 |
"${PORTNAME}" "Game;ArcadeGame;" false |
41 |
|
29 |
.include <bsd.port.options.mk> |
42 |
.include <bsd.port.options.mk> |
30 |
|
43 |
|
31 |
.if defined(WITH_NEW_XORG) |
44 |
.if defined(WITH_NEW_XORG) |
32 |
EXTRA_PATCHES+= ${FILESDIR}/extra-snoutlib_gldefs.h |
45 |
EXTRA_PATCHES+= ${FILESDIR}/extra-snoutlib_gldefs.h |
33 |
.endif |
46 |
.endif |
34 |
|
47 |
|
35 |
do-install: |
48 |
do-install: |
36 |
${INSTALL_PROGRAM} ${WRKSRC}/sea ${PREFIX}/libexec/${PORTNAME} |
49 |
${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} |
37 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} |
50 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
|
|
51 |
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ |
38 |
.if ${PORT_OPTIONS:MDOCS} |
52 |
.if ${PORT_OPTIONS:MDOCS} |
39 |
${MKDIR} ${DOCSDIR} |
53 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
40 |
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
54 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
41 |
.endif |
55 |
.endif |
42 |
|
56 |
|
43 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |