Lines 1-9
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= wesnoth |
3 |
PORTNAME= wesnoth |
4 |
PORTVERSION= 1.13.0 |
4 |
PORTVERSION= 1.12.2 |
|
|
5 |
PORTEPOCH= 1 |
5 |
CATEGORIES= games |
6 |
CATEGORIES= games |
6 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \ |
7 |
http://files.wesnoth.org/ \ |
8 |
http://files.wesnoth.org/ \ |
8 |
http://ports.toco-domains.de/ |
9 |
http://ports.toco-domains.de/ |
9 |
|
10 |
|
Lines 19-27
Link Here
|
19 |
libpng.so:${PORTSDIR}/graphics/png \ |
20 |
libpng.so:${PORTSDIR}/graphics/png \ |
20 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig |
21 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig |
21 |
|
22 |
|
|
|
23 |
LDFLAGS+= -L${LOCALBASE}/lib -lboost_system |
24 |
|
22 |
USE_SDL= image mixer net ttf |
25 |
USE_SDL= image mixer net ttf |
23 |
USE_GNOME= pango |
26 |
USE_GNOME= pango |
24 |
USES= compiler:features cmake cpe pkgconfig tar:bzip2 |
27 |
USES= cmake cpe pkgconfig tar:bzip2 |
25 |
CPE_VENDOR= ${PORTNAME} |
28 |
CPE_VENDOR= ${PORTNAME} |
26 |
CPE_PRODUCT= battle_for_wesnoth |
29 |
CPE_PRODUCT= battle_for_wesnoth |
27 |
CMAKE_ARGS= -DMANDIR="man" -DENABLE_STRICT_COMPILATION=off |
30 |
CMAKE_ARGS= -DMANDIR="man" -DENABLE_STRICT_COMPILATION=off |
Lines 38-43
Link Here
|
38 |
ANA_CMAKE_ON= -DUSE_ANA_NETWORK=on |
41 |
ANA_CMAKE_ON= -DUSE_ANA_NETWORK=on |
39 |
CAMPAIGN_DESC= Campaign server |
42 |
CAMPAIGN_DESC= Campaign server |
40 |
CAMPAIGN_CMAKE_ON=-DENABLE_CAMPAIGN_SERVER=on |
43 |
CAMPAIGN_CMAKE_ON=-DENABLE_CAMPAIGN_SERVER=on |
|
|
44 |
DOCS_CMAKE_OFF= -DDOCDIR=none |
41 |
FRIBIDI_DESC= Bidirectional support |
45 |
FRIBIDI_DESC= Bidirectional support |
42 |
FRIBIDI_LIB_DEPENDS=libfribidi.so:${PORTSDIR}/converters/fribidi |
46 |
FRIBIDI_LIB_DEPENDS=libfribidi.so:${PORTSDIR}/converters/fribidi |
43 |
FRIBIDI_CMAKE_OFF=-DENABLE_FRIBIDI=off |
47 |
FRIBIDI_CMAKE_OFF=-DENABLE_FRIBIDI=off |
Lines 60-71
Link Here
|
60 |
TOOLS_DESC= Extra tools for artists and translators |
64 |
TOOLS_DESC= Extra tools for artists and translators |
61 |
TOOLS_CMAKE_ON= -DENABLE_TOOLS=on |
65 |
TOOLS_CMAKE_ON= -DENABLE_TOOLS=on |
62 |
|
66 |
|
63 |
.include <bsd.port.pre.mk> |
67 |
.include <bsd.port.options.mk> |
64 |
|
68 |
|
65 |
.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 |
|
|
66 |
USE_GCC= yes |
67 |
.endif |
68 |
|
69 |
.if ${PORT_OPTIONS:MOPENMP} |
69 |
.if ${PORT_OPTIONS:MOPENMP} |
70 |
BROKEN= compilation fails with OpenMP |
70 |
BROKEN= compilation fails with OpenMP |
71 |
.endif |
71 |
.endif |
Lines 77-80
Link Here
|
77 |
post-install: |
77 |
post-install: |
78 |
${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete |
78 |
${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete |
79 |
|
79 |
|
80 |
.include <bsd.port.post.mk> |
80 |
.include <bsd.port.mk> |