View | Details | Raw Unified | Return to bug 182950
Collapse All | Expand All

(-)./Makefile (-15 / +29 lines)
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>
(-)./distinfo (-2 / +4 lines)
Lines 1-2 Link Here
1
SHA256 (sea-defender-r20100723.tar.bz2) = 2f8b11b3f047653d58b0dabc4384486bb3f3c173bed5f5592df070079cd73624
1
SHA256 (sea-defender-0.9.tar.gz) = d6a2ed363fb642960addcd8e43422f74f5516e6d331691703f920252d4f0596c
2
SIZE (sea-defender-r20100723.tar.bz2) = 164757
2
SIZE (sea-defender-0.9.tar.gz) = 191267
3
SHA256 (sea-defender.png) = 823fe77ea032db6186ed71eec995a6038705757816f61112dc8dfb19e2e58aba
4
SIZE (sea-defender.png) = 2928
(-)./files/patch-Makefile (-4 / +5 lines)
Lines 1-10 Link Here
1
--- Makefile.orig	2010-03-23 19:52:15.000000000 +0300
1
--- ./Makefile.orig	2010-03-23 17:52:15.000000000 +0100
2
+++ Makefile	2010-07-24 00:10:22.000000000 +0400
2
+++ ./Makefile	2013-10-13 16:47:59.000000000 +0200
3
@@ -1,12 +1,9 @@
3
@@ -1,12 +1,10 @@
4
-#CXX = g++
4
-#CXX = g++
5
-CXX = colorgcc
5
-CXX = colorgcc
6
-#CXXFLAGS = -ffunction-sections -fdata-sections -Wall -Os -fno-exceptions -fno-unwind-tables -fno-rtti -minline-all-stringops -ggdb
6
-#CXXFLAGS = -ffunction-sections -fdata-sections -Wall -Os -fno-exceptions -fno-unwind-tables -fno-rtti -minline-all-stringops -ggdb
7
-CXXFLAGS = -ffunction-sections -fdata-sections -Wall -Os -fno-exceptions -fno-unwind-tables -fno-rtti -minline-all-stringops -ggdb
7
-CXXFLAGS = -ffunction-sections -fdata-sections -Wall -Os -fno-exceptions -fno-unwind-tables -fno-rtti -minline-all-stringops -ggdb
8
+CXX ?= colorgcc
8
+CXXFLAGS += -Wall -fno-exceptions -fno-unwind-tables -fno-rtti -I${LOCALBASE}/include
9
+CXXFLAGS += -Wall -fno-exceptions -fno-unwind-tables -fno-rtti -I${LOCALBASE}/include
9
 
10
 
10
 # -Weffc++ -U_FORTIFY_SOURCE
11
 # -Weffc++ -U_FORTIFY_SOURCE
Lines 16-22 Link Here
16
 INCLUDES = 
17
 INCLUDES = 
17
 FILE2C = utils/file2c.rb 
18
 FILE2C = utils/file2c.rb 
18
 
19
 
19
@@ -63,14 +60,4 @@
20
@@ -63,14 +61,4 @@
20
 DEPDIR = .deps
21
 DEPDIR = .deps
21
 df = $(DEPDIR)/$(*F)
22
 df = $(DEPDIR)/$(*F)

Return to bug 182950