2005-06-13 01:51:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2005/06/12 23:51:28 kristerw Exp $
|
2003-06-02 17:45:28 +02:00
|
|
|
|
|
|
|
DISTNAME= SpeedX-0.1.4d
|
|
|
|
PKGNAME= speedx-0.1.4d
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=speedx/}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mercrain.s3m.zip
|
|
|
|
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
|
|
HOMEPAGE= http://medernac.home.cern.ch/medernac/SpeedX/index_en.html
|
2003-07-21 19:33:10 +02:00
|
|
|
COMMENT= Car racing game for X
|
2003-06-02 17:45:28 +02:00
|
|
|
|
2003-06-03 04:19:01 +02:00
|
|
|
SITES_mercrain.s3m.zip= http://www.modarchive.com/cgi-bin/download.cgi/M/
|
|
|
|
|
2003-06-02 17:45:28 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2005-05-24 12:29:21 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-06-02 17:45:28 +02:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
# XXX should just use find and cpio instead, but cpio isn't on all systems
|
|
|
|
${MKDIR} ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/background ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/cars ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/music ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/num ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/road ${WRKDIR}/share
|
|
|
|
${CP} -Rf ${WRKSRC}/src/scene ${WRKDIR}/share
|
|
|
|
${FIND} ${WRKDIR}/share -type f \! -name "*.png" | ${XARGS} ${RM}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CP} -Rf ${WRKDIR}/share/* ${PREFIX}/share/speedx
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/speedx
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/speedx
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/mercrain.s3m ${PREFIX}/share/speedx/music/
|
|
|
|
|
2004-04-13 00:23:52 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../audio/libmikmod/buildlink3.mk"
|
2005-06-13 01:51:13 +02:00
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
2003-06-02 17:45:28 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|