pkgsrc-wip/mupen64-base/Makefile
Thomas Klausner 4ea9e30213 Remove unneeded and obsolete inclusion of
mk/x11.buildlink3.mk. Should be handled by the inclusion of
gtk/bl3.mk automatically.
2009-02-04 20:53:45 +00:00

52 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2009/02/04 20:53:45 thomasklausner Exp $
#
DISTNAME= mupen64_src-0.4
PKGNAME= ${DISTNAME:S/_src/-base/}
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://mupen64.emulation64.com/files/0.4/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mupen64.emulation64.com/
COMMENT= Free Nintendo 64(TM) emulator for unix-like OS
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/emu64
# Ensure we export symbols in the linked shared object.
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
SUBST_CLASSES+= fixme
SUBST_STAGE.fixme= post-patch
SUBST_FILES.fixme= Makefile
SUBST_SED.fixme= -e "s|@BLNK@|${BUILDLINK_DIR}|g" \
-e "s|@LDFLAGS@|${LDFLAGS}|g"
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
SHAREDIR= ${PREFIX}/share/${PKGBASE}
do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${SHAREDIR}/lang
${INSTALL_DATA_DIR} ${SHAREDIR}/roms
${INSTALL_DATA_DIR} ${SHAREDIR}/scripts
${INSTALL_DATA_DIR} ${SHAREDIR}/save
${INSTALL_DATA_DIR} ${SHAREDIR}/plugins
${INSTALL_PROGRAM} ${WRKSRC}/mupen64 ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/lang/* ${SHAREDIR}/lang
${INSTALL_DATA} ${WRKSRC}/mupen64.ini ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/logo.xpm ${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/doc/readme.pdf ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/roms/*.gz ${SHAREDIR}/roms
${SED} -e "s,@SHAREDIR@,${SHAREDIR},g" ${FILESDIR}/mupen64.sh > \
${WRKSRC}/roms/mupen64
${INSTALL_SCRIPT} ${WRKSRC}/roms/mupen64 ${PREFIX}/bin
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"