2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2005/06/16 06:57:54 jlam Exp $
|
2001-07-26 15:46:39 +02:00
|
|
|
#
|
|
|
|
|
2002-10-16 01:23:05 +02:00
|
|
|
DISTNAME= ketm-0.0.6
|
2005-03-27 17:43:32 +02:00
|
|
|
PKGREVISION= 4
|
2001-07-26 15:46:39 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://home.t-online.de/home/haslbeck/ketm/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-04-17 22:46:28 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-07-26 15:46:39 +02:00
|
|
|
HOMEPAGE= http://home.t-online.de/home/haslbeck/ketm/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Old-school 2d-scrolling shooter
|
2001-07-26 15:46:39 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= ketm
|
2001-07-26 15:46:39 +02:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2001-07-26 15:46:39 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-07-26 15:46:39 +02:00
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for f in *.c; do \
|
|
|
|
${SED} "s,data/,${LOCALBASE}/share/ketm/data/,g" $${f} \
|
|
|
|
> $${f}.done; \
|
|
|
|
${MV} $${f}.done $${f}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
${SED} "s,data/,${LOCALBASE}/share/ketm/data/,g" \
|
|
|
|
${WRKSRC}/font.h > ${WRKSRC}/font.h.done
|
|
|
|
${MV} ${WRKSRC}/font.h.done ${WRKSRC}/font.h
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ketm ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ketm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/ketm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ketm/data
|
|
|
|
cd ${WRKSRC}/data && \
|
2002-10-16 01:23:05 +02:00
|
|
|
${INSTALL_DATA} *.bmp *.dat ${PREFIX}/share/ketm/data
|
2001-07-26 15:46:39 +02:00
|
|
|
|
2004-03-06 22:06:12 +01:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2001-07-26 15:46:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|