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

(-)Makefile (-6 / +9 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	openxcom
4
PORTNAME=	openxcom
5
PORTVERSION=	0.9.0
5
PORTVERSION=	1.0.0
6
PORTREVISION=	3
7
CATEGORIES=	games
6
CATEGORIES=	games
8
7
9
MAINTAINER=	amdmi3@FreeBSD.org
8
MAINTAINER=	amdmi3@FreeBSD.org
Lines 10-24 Link Here
10
COMMENT=	Open-source reimplementation of the original X-Com
9
COMMENT=	Open-source reimplementation of the original X-Com
11
10
12
LICENSE=	GPLv3
11
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
13
15
LIB_DEPENDS=	libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
14
LIB_DEPENDS=	libyaml-cpp05.so:${PORTSDIR}/devel/yaml-cpp05
16
15
17
USE_GITHUB=	yes
16
USE_GITHUB=	yes
18
GH_ACCOUNT=	SupSuper
17
GH_ACCOUNT=	SupSuper
19
GH_PROJECT=	OpenXcom
18
GH_PROJECT=	OpenXcom
20
GH_TAGNAME=	v0.9
19
GH_TAGNAME=	v1.0
21
GH_COMMIT=	5c8b540
20
GH_COMMIT=	b396c74
22
21
23
USES=		gmake pkgconfig
22
USES=		gmake pkgconfig
24
USE_SDL=	sdl mixer image gfx
23
USE_SDL=	sdl mixer image gfx
Lines 48-53 Link Here
48
		${WRKSRC}/src/Engine/Surface.cpp
47
		${WRKSRC}/src/Engine/Surface.cpp
49
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/README.txt \
48
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/README.txt \
50
		${WRKSRC}/src/Engine/CrossPlatform.cpp
49
		${WRKSRC}/src/Engine/CrossPlatform.cpp
50
	@${REINPLACE_CMD} -e 's|yaml-cpp|yaml-cpp05|' ${WRKSRC}/CMakeLists.txt \
51
		${WRKSRC}/src/Makefile.simple
52
	@${FIND} ${WRKSRC} -name '*.[hc]*' -print | xargs ${REINPLACE_CMD} \
53
		-e 's|yaml-cpp|yaml-cpp05|'
51
54
52
do-install:
55
do-install:
53
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
56
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (openxcom-0.9.0.tar.gz) = 340ff7292baa9a2b7ce4b244cc6dc0200c1d3b807a59087ef9827bba5c135634
1
SHA256 (openxcom-1.0.0.tar.gz) = d0bbc9fcd1671ad952c1b825a137a67ac5ed339827cedb660e46678c9a369557
2
SIZE (openxcom-0.9.0.tar.gz) = 1540556
2
SIZE (openxcom-1.0.0.tar.gz) = 2069030
(-)files/patch-src__Engine__RNG.h (+12 lines)
Line 0 Link Here
1
--- ./src/Engine/RNG.h.orig	2014-08-02 00:14:51.434305262 +0200
2
+++ ./src/Engine/RNG.h	2014-08-02 00:15:02.742305237 +0200
3
@@ -19,8 +19,8 @@
4
 #ifndef OPENXCOM_RNG_H
5
 #define OPENXCOM_RNG_H
6
 
7
-#include <algorithm>
8
 #define __STDC_LIMIT_MACROS
9
+#include <algorithm>
10
 #include <stdint.h>
11
 
12
 namespace OpenXcom

Return to bug 192330