Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= wesnoth |
8 |
PORTNAME= wesnoth |
9 |
PORTVERSION= 1.8.3 |
9 |
PORTVERSION= 1.8.4 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \ |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \ |
12 |
http://files.wesnoth.org/ |
12 |
http://files.wesnoth.org/ |
Lines 23-29
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
23 |
CONFLICTS= wesnoth-devel-[0-9]* |
23 |
CONFLICTS= wesnoth-devel-[0-9]* |
24 |
|
24 |
|
25 |
USE_SDL= image mixer net ttf |
25 |
USE_SDL= image mixer net ttf |
26 |
USE_GNOME= desktopfileutils gnometarget pango |
26 |
USE_GNOME= gnometarget pango |
27 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
28 |
MAKE_JOBS_SAFE= yes |
28 |
MAKE_JOBS_SAFE= yes |
29 |
WANT_GNOME= yes |
29 |
WANT_GNOME= yes |
Lines 32-38
USE_LUA= 5.1
Link Here
|
32 |
USE_AUTOTOOLS= aclocal:110 autoheader:262 automake:110 autoconf:262 |
32 |
USE_AUTOTOOLS= aclocal:110 autoheader:262 automake:110 autoconf:262 |
33 |
ACLOCAL_ARGS= -Im4 |
33 |
ACLOCAL_ARGS= -Im4 |
34 |
AUTOMAKE_ARGS= --add-missing --copy |
34 |
AUTOMAKE_ARGS= --add-missing --copy |
35 |
CONFIGURE_ENV= PKG_CONFIG=${LOCALBASE}/bin/pkg-config \ |
35 |
CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG}" \ |
36 |
LDFLAGS="${LDFLAGS}" |
36 |
LDFLAGS="${LDFLAGS}" |
37 |
CONFIGURE_ARGS= --localstatedir=/var \ |
37 |
CONFIGURE_ARGS= --localstatedir=/var \ |
38 |
--with-boost=${LOCALBASE} \ |
38 |
--with-boost=${LOCALBASE} \ |
Lines 40-45
CONFIGURE_ARGS= --localstatedir=/var \
Link Here
|
40 |
--with-libiconv-prefix=${LOCALBASE} \ |
40 |
--with-libiconv-prefix=${LOCALBASE} \ |
41 |
--with-libintl-prefix=${LOCALBASE} \ |
41 |
--with-libintl-prefix=${LOCALBASE} \ |
42 |
--with-localedir=${PREFIX}/share/locale |
42 |
--with-localedir=${PREFIX}/share/locale |
|
|
43 |
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config |
43 |
|
44 |
|
44 |
MANLANG= "" cs de en_GB es et fi fr gl hu it ja lt pl pt_BR sk \ |
45 |
MANLANG= "" cs de en_GB es et fi fr gl hu it ja lt pl pt_BR sk \ |
45 |
sr sr@ijekavian sr@ijekavianlatin sr@latin tr zh_CN zh_TW |
46 |
sr sr@ijekavian sr@ijekavianlatin sr@latin tr zh_CN zh_TW |
Lines 54-60
OPTIONS= BWMON "Enable bandwidth monito
Link Here
|
54 |
EDITOR "Enable map editor" On \ |
55 |
EDITOR "Enable map editor" On \ |
55 |
FRIBIDI "Enable bidirectional support" On \ |
56 |
FRIBIDI "Enable bidirectional support" On \ |
56 |
LOWMEM "Reduce memory usage (disables animations)" Off \ |
57 |
LOWMEM "Reduce memory usage (disables animations)" Off \ |
57 |
NLS "Enable localization" On \ |
|
|
58 |
NOTIFY "Enable desktop notifications" On \ |
58 |
NOTIFY "Enable desktop notifications" On \ |
59 |
POOLALLOC "Use wesnoth own memory allocator" Off \ |
59 |
POOLALLOC "Use wesnoth own memory allocator" Off \ |
60 |
PYTHON "Enable python developer tools" On \ |
60 |
PYTHON "Enable python developer tools" On \ |
Lines 194-203
PLIST_SUB+= TOOLS=""
Link Here
|
194 |
CONFIGURE_ARGS+= --docdir=${WRKDIR}/docs |
194 |
CONFIGURE_ARGS+= --docdir=${WRKDIR}/docs |
195 |
.endif |
195 |
.endif |
196 |
|
196 |
|
197 |
.if (defined(WITH_CAMPAIGN) || defined(WITH_SERVER) || defined(WITH_TOOLS)) && defined(WITHOUT_NLS) |
|
|
198 |
BROKEN= you need NLS support for `campaignd' or `wesnothd' or tools to link against gettext |
199 |
.endif |
200 |
|
201 |
.if defined(NOPORTDATA) |
197 |
.if defined(NOPORTDATA) |
202 |
IGNORE= game data is required, undefine NOPORTDATA |
198 |
IGNORE= game data is required, undefine NOPORTDATA |
203 |
.endif |
199 |
.endif |
Lines 207-213
post-patch: .SILENT
Link Here
|
207 |
-e 's|png_error_ptr_NULL|NULL|g' \ |
203 |
-e 's|png_error_ptr_NULL|NULL|g' \ |
208 |
${WRKSRC}/src/tools/exploder_utils.cpp |
204 |
${WRKSRC}/src/tools/exploder_utils.cpp |
209 |
|
205 |
|
210 |
post-install: .SILENT |
206 |
post-install: |
211 |
-update-desktop-database |
207 |
-update-desktop-database ${PREFIX}/share/applications |
212 |
|
208 |
|
213 |
.include <bsd.port.post.mk> |
209 |
.include <bsd.port.post.mk> |