3d8ef5a52d
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
33 lines
902 B
Makefile
33 lines
902 B
Makefile
# $NetBSD: Makefile,v 1.10 2008/05/26 02:13:19 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= bos_1_1
|
|
PKGNAME= bos-1.1
|
|
PKGREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://bos.seul.org/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.boswars.org/
|
|
COMMENT= Invasion - Battle of Survival (real-time strategy game)
|
|
|
|
DEPENDS+= stratagus>=2.1:../../games/stratagus
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
INSTALLATION_DIRS= bin
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
do-build:
|
|
${SED} -e "s|@LOCALBASE@|${LOCALBASE}|" \
|
|
-e "s|@PREFIX@|${PREFIX}|" ${FILESDIR}/bos > \
|
|
${WRKSRC}/bos
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bos ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/bos
|
|
cd ${WRKSRC} && pax -pe -rw data ${DESTDIR}${PREFIX}/share/bos
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bos
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/bos
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|