pkgsrc/games/nagi/Makefile
jlam 0c6a3253fe Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 06:59:03 +00:00

35 lines
938 B
Makefile

# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:05 jlam Exp $
#
DISTNAME= nagi_src_-_2002-11-14
PKGNAME= nagi-20021114
PKGREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.agidev.com/dl_files/nagi/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.agidev.com/projects/nagi/
COMMENT= Clone of Sierra's AGI
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/src
USE_TOOLS+= gmake
MAKE_FILE= Makefile.linux
NAGILIB= ${PREFIX}/lib/nagi
INSTALLATION_DIRS= bin
post-build:
${SED} "s|@PREFIX@|${PREFIX}|" <${FILESDIR}/nagi.sh >${WRKDIR}/nagi.sh
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${NAGILIB}
${INSTALL_PROGRAM} ${WRKDIR}/bin/nagi ${DESTDIR}${NAGILIB}
${INSTALL_DATA} ${WRKDIR}/bin/*.nbf ${WRKDIR}/bin/*.ini ${DESTDIR}${NAGILIB}
${INSTALL_SCRIPT} ${WRKDIR}/nagi.sh ${DESTDIR}${PREFIX}/bin/nagi
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"