2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2005/04/11 21:45:57 tv Exp $
|
2004-08-17 14:29:14 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= stratagus-2.1-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2005-03-27 17:43:32 +02:00
|
|
|
PKGREVISION= 2
|
2004-08-17 14:29:14 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/}
|
|
|
|
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
|
|
HOMEPAGE= http://stratagus.sourceforge.net/
|
|
|
|
COMMENT= Real-time strategy engine
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/stratagus-040702
|
|
|
|
USE_GNU_TOOLS+= make
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-flac --with-mad
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus/graphics
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/stratagus
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/graphics/* \
|
|
|
|
${PREFIX}/share/doc/stratagus/graphics
|
|
|
|
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../audio/libmikmod/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|