2010-10-24 20:58:58 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/10/24 21:19:02 ajacoutot Exp $
|
2007-12-12 18:14:15 +00:00
|
|
|
|
|
|
|
COMMENT= city simulation game
|
|
|
|
|
2009-03-27 19:52:43 +00:00
|
|
|
DISTNAME= lincity-ng-2.0
|
2009-12-22 16:27:59 +00:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-12-12 18:14:15 +00:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-03-27 19:52:43 +00:00
|
|
|
CATEGORIES= games x11
|
2007-12-12 18:14:15 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://lincity-ng.berlios.de/wiki/index.php/Main_Page
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=lincity-ng/}
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-08-10 06:29:51 +00:00
|
|
|
WANTLIB= GL SDL X11 c m pthread pthread-stubs stdc++ xcb z
|
2007-12-12 18:14:15 +00:00
|
|
|
|
2009-03-27 19:52:43 +00:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2007-12-12 18:14:15 +00:00
|
|
|
LIB_DEPENDS= SDL_gfx::devel/sdl-gfx \
|
|
|
|
SDL_image::devel/sdl-image \
|
|
|
|
SDL_mixer::devel/sdl-mixer \
|
|
|
|
SDL_ttf::devel/sdl-ttf \
|
|
|
|
physfs::devel/physfs \
|
|
|
|
xml2::textproc/libxml
|
|
|
|
BUILD_DEPENDS= ::devel/jam
|
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2009-03-27 19:52:43 +00:00
|
|
|
NO_REGRESS= Yes
|
2007-12-12 18:14:15 +00:00
|
|
|
|
2010-10-18 18:00:15 +00:00
|
|
|
USE_GROFF = Yes
|
2007-12-29 20:51:10 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-12-12 18:14:15 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2009-03-27 19:52:43 +00:00
|
|
|
LIBS="-liconv -pthread"
|
2007-12-12 18:14:15 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
do-build:
|
2009-03-27 19:52:43 +00:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx
|
2007-12-12 18:14:15 +00:00
|
|
|
|
|
|
|
do-install:
|
2008-01-04 17:48:33 +00:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ALL_FAKE_FLAGS} jam \
|
2007-12-29 20:51:10 +00:00
|
|
|
install install_man
|
2007-12-12 18:14:15 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|