| @@ -1,23 +1,25 @@ | | | @@ -1,23 +1,25 @@ |
1 | # $NetBSD: Makefile,v 1.25 2008/01/06 16:39:14 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.26 2008/03/05 15:30:02 jlam Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/-/-server-/} | | 3 | PKGNAME= ${DISTNAME:S/-/-server-/} |
| | | 4 | PKGREVISION= 1 |
4 | COMMENT= Freeciv game server | | 5 | COMMENT= Freeciv game server |
5 | | | 6 | |
6 | DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share | | 7 | DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share |
7 | | | 8 | |
| | | 9 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 10 | |
8 | #MAKE_JOBS_SAFE= no | | 11 | #MAKE_JOBS_SAFE= no |
9 | | | 12 | |
10 | USE_GNU_READLINE= yes | | 13 | USE_GNU_READLINE= yes |
11 | CONFIGURE_ARGS+= --disable-make-data | | 14 | CONFIGURE_ARGS+= --disable-make-data |
12 | CONFIGURE_ARGS+= --enable-client=no | | 15 | CONFIGURE_ARGS+= --enable-client=no |
13 | CONFIGURE_ARGS+= --with-readline | | 16 | CONFIGURE_ARGS+= --with-readline |
14 | LIBS+= -ltermcap | | | |
15 | | | 17 | |
16 | # Uses rl_filename_completion_function() which was introduced in readline-4.2 | | 18 | # Uses rl_filename_completion_function() which was introduced in readline-4.2 |
17 | BUILDLINK_API_DEPENDS.readline+= readline>=4.2 | | 19 | BUILDLINK_API_DEPENDS.readline+= readline>=4.2 |
18 | | | 20 | |
19 | .include "../../games/freeciv-share/Makefile.common" | | 21 | .include "../../games/freeciv-share/Makefile.common" |
20 | | | 22 | |
21 | .include "../../devel/readline/buildlink3.mk" | | 23 | .include "../../devel/readline/buildlink3.mk" |
22 | .include "../../devel/zlib/buildlink3.mk" | | 24 | .include "../../devel/zlib/buildlink3.mk" |
23 | .include "../../mk/bsd.pkg.mk" | | 25 | .include "../../mk/bsd.pkg.mk" |