version 1.1, 2009/02/25 14:04:17 |
version 1.8, 2012/08/10 14:30:45 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
|
|
COMMENT = turn based strategy game |
COMMENT = turn based strategy game |
|
|
DISTNAME = asc-2.2.0.0 |
DISTNAME = asc-2.5.0.0 |
CATEGORIES = games x11 |
CATEGORIES = games x11 |
|
|
HOMEPAGE = http://www.asc-hq.org/ |
HOMEPAGE = http://www.asc-hq.org/ |
|
|
# GPL |
# GPL |
PERMIT_PACKAGE_CDROM= Yes |
PERMIT_PACKAGE_CDROM= Yes |
|
|
PERMIT_DISTFILES_CDROM= Yes |
PERMIT_DISTFILES_CDROM= Yes |
PERMIT_DISTFILES_FTP= Yes |
PERMIT_DISTFILES_FTP= Yes |
|
|
WANTLIB = FLAC SDL X11 Xext Xau Xdmcp Xrandr Xrender c expat \ |
WANTLIB = FLAC SDL X11 Xext Xau Xdmcp Xrandr Xrender c \ |
freetype iconv jpeg m mikmod ogg png pthread smpeg \ |
expat freetype iconv jpeg m mikmod ogg png \ |
sndio speex stdc++ tiff usbhid vorbis vorbisenc \ |
pthread pthread-stubs smpeg sndio speex stdc++ \ |
vorbisfile z |
tiff usbhid vorbis vorbisenc vorbisfile xcb z |
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=asc-hq/} |
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=asc-hq/} |
EXTRACT_SUFX = .tar.bz2 |
EXTRACT_SUFX = .tar.bz2 |
|
|
LIB_DEPENDS = SDL_image::devel/sdl-image \ |
BUILD_DEPENDS = archivers/zip |
SDL_mixer::devel/sdl-mixer \ |
|
SDL_sound::devel/sdl-sound \ |
|
boost_regex::devel/boost \ |
|
bz2::archivers/bzip2 \ |
|
physfs::devel/physfs \ |
|
sigc-1.2::devel/libsigc++ |
|
# xvidcore |
|
|
|
USE_X11 = Yes |
MODULES = lang/lua |
|
LIB_DEPENDS = archivers/bzip2 \ |
|
devel/boost \ |
|
devel/libsigc++ \ |
|
devel/physfs \ |
|
devel/sdl-image \ |
|
devel/sdl-mixer \ |
|
devel/sdl-sound \ |
|
multimedia/xvidcore \ |
|
x11/wxWidgets |
|
|
|
USE_GMAKE = Yes |
|
|
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++" \ |
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++ -pthread" |
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \ |
# CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" |
|
|
USE_LIBTOOL= Yes |
pre-configure: |
USE_GMAKE= Yes |
@perl -pi -e 's,lua5.1,${MODLUA_DEP},g' ${WRKSRC}/configure |
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |
|
|