File:
[cvs.NetBSD.org] /
pkgsrc /
games /
ketm /
Makefile
Revision
1.26:
download - view:
text,
annotated -
select for diffs
Tue Mar 4 06:59:04 2008 UTC (16 years, 9 months ago) by
jlam
Branches:
MAIN
CVS tags:
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
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.26 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= ketm-0.0.6
PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= http://home.t-online.de/home/haslbeck/ketm/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.t-online.de/home/haslbeck/ketm/
COMMENT= Old-school 2d-scrolling shooter
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= ketm
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin share/ketm/data
SUBST_CLASSES+= ketm
SUBST_STAGE.ketm= pre-configure
SUBST_FILES.ketm= *.c font.h
SUBST_SED.ketm= -e "s,data/,${PREFIX}/share/ketm/data/,g"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ketm ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/ketm
cd ${WRKSRC}/data && \
${INSTALL_DATA} *.bmp *.dat ${DESTDIR}${PREFIX}/share/ketm/data
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>