2011-09-16 05:48:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/09/16 09:48:10 espie 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
|
2011-09-16 05:48:08 -04:00
|
|
|
REVISION = 2
|
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
|
|
|
|
|
2010-11-08 10:54:53 -05:00
|
|
|
WANTLIB= GL SDL X11 c m pthread pthread-stubs stdc++ xcb z \
|
|
|
|
SDL_gfx SDL_image SDL_mixer SDL_ttf physfs xml2
|
2007-12-12 13:14:15 -05:00
|
|
|
|
2009-03-27 15:52:43 -04:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
LIB_DEPENDS= devel/sdl-gfx \
|
|
|
|
devel/sdl-image \
|
|
|
|
devel/sdl-mixer \
|
|
|
|
devel/sdl-ttf \
|
|
|
|
devel/physfs \
|
|
|
|
textproc/libxml
|
|
|
|
BUILD_DEPENDS= devel/jam
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2009-03-27 15:52:43 -04:00
|
|
|
NO_REGRESS= Yes
|
2007-12-12 13:14:15 -05:00
|
|
|
|
2010-10-18 14:00:15 -04:00
|
|
|
USE_GROFF = 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>
|