32 lines
828 B
Makefile
32 lines
828 B
Makefile
# $NetBSD: Makefile,v 1.27 2008/06/21 18:12:42 joerg Exp $
|
|
|
|
DISTNAME= battleball.21.src
|
|
PKGNAME= battleball-2.1
|
|
PKGREVISION= 4
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= #
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://web.archive.org/web/*/http://www.cs.utexas.edu/users/pahardin/bb.html
|
|
COMMENT= 3d game of soccer, with tanks
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/battleball-2.1-src
|
|
USE_LANGUAGES= c c++
|
|
|
|
SED_CMDS= -e '/^INCS/s|$$|${CPPFLAGS}|' -e '/^LIBS/s|$$|${LDFLAGS}|'
|
|
|
|
.include "options.mk"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-configure:
|
|
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig; \
|
|
${SED} ${SED_CMDS} < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/battleball ${DESTDIR}${PREFIX}/bin/
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|