2009-12-22 11:27:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/12/22 16:28:00 ajacoutot Exp $
|
2007-12-12 13:14:15 -05:00
|
|
|
|
|
|
|
COMMENT= city simulation game
|
|
|
|
|
2009-03-27 15:52:43 -04:00
|
|
|
DISTNAME= lincity-ng-2.0
|
2009-12-22 11:27:59 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-12-12 13:14:15 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-03-27 15:52:43 -04:00
|
|
|
CATEGORIES= games x11
|
2007-12-12 13:14:15 -05: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 02:29:51 -04:00
|
|
|
WANTLIB= GL SDL X11 c m pthread pthread-stubs stdc++ xcb z
|
2007-12-12 13:14:15 -05:00
|
|
|
|
2009-03-27 15:52:43 -04:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2007-12-12 13:14:15 -05: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 15:52:43 -04:00
|
|
|
NO_REGRESS= Yes
|
2007-12-12 13:14:15 -05:00
|
|
|
|
2009-03-27 15:52:43 -04:00
|
|
|
USE_X11= Yes
|
2007-12-29 15:51:10 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-12-12 13:14:15 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2009-03-27 15:52:43 -04:00
|
|
|
LIBS="-liconv -pthread"
|
2007-12-12 13:14:15 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
do-build:
|
2009-03-27 15:52:43 -04:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx
|
2007-12-12 13:14:15 -05:00
|
|
|
|
|
|
|
do-install:
|
2008-01-04 12:48:33 -05:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ALL_FAKE_FLAGS} jam \
|
2007-12-29 15:51:10 -05:00
|
|
|
install install_man
|
2007-12-12 13:14:15 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|