# $NetBSD: Makefile,v 1.15 2012/10/06 11:54:47 asau 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 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"