2004-03-12 21:06:29 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2004/03/12 20:06:29 wiz Exp $
|
2003-07-14 00:23:13 +02:00
|
|
|
#
|
|
|
|
|
2004-03-12 21:06:29 +01:00
|
|
|
DISTNAME= asc-source-1.14.0.0
|
2003-07-14 00:23:13 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asc-hq/}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${AUDIO_FILES}
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2003-07-14 00:31:03 +02:00
|
|
|
HOMEPAGE= http://www.asc-hq.org/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Turn based strategy game
|
2003-07-14 00:23:13 +02:00
|
|
|
|
|
|
|
AUDIO_FILES= frontiers.mp3 machine_wars.mp3 time_to_strike.mp3
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2004-03-07 00:43:47 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2003-07-14 00:23:13 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
2004-01-24 14:30:55 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2003-07-14 00:23:13 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-07 00:43:47 +01:00
|
|
|
CPPFLAGS.NetBSD+= -D_UNICODE_BROKEN_
|
2003-07-14 00:23:13 +02:00
|
|
|
|
|
|
|
# ../weaponguide.cpp:1205: virtual memory exhausted
|
|
|
|
UNLIMIT_RESOURCES= datasize
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.for fil in ${AUDIO_FILES}
|
|
|
|
${CP} ${DISTDIR}/${fil} ${WRKSRC}/data/music
|
|
|
|
.endfor
|
|
|
|
|
2004-03-07 00:43:47 +01:00
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
|
|
.include "../../devel/SDLmm/buildlink3.mk"
|
|
|
|
.include "../../devel/libsigc++/buildlink3.mk"
|
|
|
|
.include "../../devel/smpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/SDL_image/buildlink3.mk"
|
|
|
|
.include "../../x11/paragui/buildlink3.mk"
|
2003-07-14 00:23:13 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|