File:
[cvs.NetBSD.org] /
pkgsrc /
games /
stratagus /
Makefile
Revision
1.17:
download - view:
text,
annotated -
select for diffs
Tue Mar 4 06:59:06 2008 UTC (16 years, 9 months ago) by
jlam
Branches:
MAIN
CVS tags:
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
# $NetBSD: Makefile,v 1.17 2008/03/04 06:59:06 jlam Exp $
#
DISTNAME= stratagus-2.1-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 10
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://stratagus.sourceforge.net/
COMMENT= Real-time strategy engine
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/stratagus-040702
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-flac --with-mad
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus/graphics
${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DESTDIR}${PREFIX}/share/doc/stratagus
${INSTALL_DATA} ${WRKSRC}/doc/graphics/* \
${DESTDIR}${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"
CVSweb <webmaster@jp.NetBSD.org>