|
Lines 6-12
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= wesnoth |
8 |
PORTNAME= wesnoth |
| 9 |
PORTVERSION= 1.9.7 |
9 |
PORTVERSION= 1.9.13 |
| 10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
| 11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ |
| 12 |
http://files.wesnoth.org/ |
12 |
http://files.wesnoth.org/ |
|
Lines 15-24
PKGNAMESUFFIX= -devel
Link Here
|
| 15 |
MAINTAINER= philip@FreeBSD.org |
15 |
MAINTAINER= philip@FreeBSD.org |
| 16 |
COMMENT= A fantasy turn-based strategy game |
16 |
COMMENT= A fantasy turn-based strategy game |
| 17 |
|
17 |
|
|
|
18 |
EXTRACT_DEPENDS=${WRKSRC}/fonts/Junicode-Regular.ttf:${PORTSDIR}/x11-fonts/junicode:extract |
| 18 |
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs |
19 |
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs |
| 19 |
RUN_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/x11-fonts/junicode:extract |
|
|
| 20 |
|
| 21 |
BROKEN= incomplete plist |
| 22 |
|
20 |
|
| 23 |
LICENSE= GPLv2 GPLv3 |
21 |
LICENSE= GPLv2 GPLv3 |
| 24 |
LICENSE_COMB= dual |
22 |
LICENSE_COMB= dual |
|
Lines 37-43
MAN6= wesnoth.6
Link Here
|
| 37 |
PORTDOCS= * |
35 |
PORTDOCS= * |
| 38 |
PORTDATA= * |
36 |
PORTDATA= * |
| 39 |
|
37 |
|
| 40 |
OPTIONS= ANA "Enable Asynchronous Network API (WIP)" On \ |
38 |
OPTIONS= ANA "Enable Asynchronous Network API (WIP)" Off \ |
| 41 |
CAMPAIGN "Enable campaign server" On \ |
39 |
CAMPAIGN "Enable campaign server" On \ |
| 42 |
FRIBIDI "Enable bidirectional support" On \ |
40 |
FRIBIDI "Enable bidirectional support" On \ |
| 43 |
LOWMEM "Reduce memory usage (disables animations)" Off \ |
41 |
LOWMEM "Reduce memory usage (disables animations)" Off \ |
|
Lines 97-106
PLIST_SUB+= NLS="@comment "
Link Here
|
| 97 |
.else |
95 |
.else |
| 98 |
CMAKE_ARGS+= -DENABLE_NLS=on -DLOCALEDIR=${PREFIX}/share/locale |
96 |
CMAKE_ARGS+= -DENABLE_NLS=on -DLOCALEDIR=${PREFIX}/share/locale |
| 99 |
USE_GETTEXT= yes |
97 |
USE_GETTEXT= yes |
| 100 |
MANLANG= "" cs de en_GB et fi fr gl hu id it ja lt pl pt_BR sk \ |
98 |
MANLANG= "" cs de en_GB et fr gl hu id it lt pl ru sk |
| 101 |
sr sr@ijekavian sr@ijekavianlatin sr@latin zh_CN zh_TW |
|
|
| 102 |
_MANPAGES+= ${PREFIX}/man/es/man6/wesnothd.6 \ |
99 |
_MANPAGES+= ${PREFIX}/man/es/man6/wesnothd.6 \ |
| 103 |
${PREFIX}/man/tr/man6/wesnothd.6 |
100 |
${PREFIX}/man/fi/man6/wesnothd.6 \ |
|
|
101 |
${PREFIX}/man/ja/man6/wesnothd.6 \ |
| 102 |
${PREFIX}/man/pt_BR/man6/wesnothd.6 |
| 104 |
PLIST_SUB+= NLS="" |
103 |
PLIST_SUB+= NLS="" |
| 105 |
.endif |
104 |
.endif |
| 106 |
|
105 |
|
|
Lines 164-173
CMAKE_ARGS+= -DDOCDIR=none
Link Here
|
| 164 |
IGNORE= game data is required, undefine NOPORTDATA |
163 |
IGNORE= game data is required, undefine NOPORTDATA |
| 165 |
.endif |
164 |
.endif |
| 166 |
|
165 |
|
| 167 |
post-install: |
166 |
post-extract: .SILENT |
| 168 |
${INSTALL_DATA} $$(${MAKE} -V WRKSRC \ |
167 |
${INSTALL_DATA} $$(${MAKE} -V WRKSRC \ |
| 169 |
-C ${PORTSDIR}/x11-fonts/junicode)/fonts/Junicode-Regular.ttf \ |
168 |
-C ${PORTSDIR}/x11-fonts/junicode)/fonts/Junicode-Regular.ttf \ |
| 170 |
${DATADIR}/fonts |
169 |
${WRKSRC}/fonts |
|
|
170 |
|
| 171 |
post-install: |
| 171 |
-update-desktop-database ${PREFIX}/share/applications |
172 |
-update-desktop-database ${PREFIX}/share/applications |
| 172 |
|
173 |
|
| 173 |
.include <bsd.port.mk> |
174 |
.include <bsd.port.mk> |