# New ports collection makefile for: linux-mupen64 # Date created: 04 Oct 2003 # Whom: Travis Poppe # # $FreeBSD$ # PORTNAME= mupen64 PORTVERSION= 0.3 PORTREVISION= 2 CATEGORIES= emulators linux MASTER_SITES= http://mupen64.emulation64.com/files/:mupen \ http://www.liquidx.org/distfiles/:plugins PKGNAMEPREFIX= linux- DISTFILES= mupen64-0.3.tar.bz2:mupen mupen64linplugins2.tar.bz2:plugins MAINTAINER= tlp@liquidx.org COMMENT= A Nintendo 64 emulator (Linux version) RUN_DEPENDS= ${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators/linux_base-8 \ ${LINUXBASE}/usr/X11R6/lib/libXi.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux_dri \ ${LINUXBASE}/usr/lib/libGLcore.so.1:${PORTSDIR}/x11/nvidia-driver \ ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \ ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk USE_BZIP2= yes USE_REINPLACE= yes ONLY_FOR_ARCHS= i386 INSTALLS_SHLIB= yes NO_BUILD= yes # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. STRIP= post-patch: @(cp ${FILESDIR}/linux-mupen64_install.in ${WRKDIR}/linux-mupen64_install) @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/linux-mupen64_install do-install: ${MKDIR} ${PREFIX}/lib/linux-mupen64 ${MKDIR} ${PREFIX}/share/linux-mupen64 ${MKDIR} ${PREFIX}/share/linux-mupen64/lang ${MKDIR} ${PREFIX}/lib/linux-mupen64/plugins ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/mupen64.ini ${PREFIX}/share/linux-mupen64/mupen64.ini ${INSTALL_DATA} ${WRKSRC}/whatsnew.txt ${DOCSDIR}/whatsnew.txt ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/share/linux-mupen64/lang ${INSTALL_DATA} ${WRKDIR}/mupen64linplugins2/* ${PREFIX}/lib/linux-mupen64/plugins ${INSTALL_DATA} ${WRKSRC}/plugins/mupen64_audio.so ${PREFIX}/lib/linux-mupen64/plugins/mupen64_audio.so ${INSTALL_DATA} ${WRKSRC}/plugins/mupen64_gfx.so ${PREFIX}/lib/linux-mupen64/plugins/mupen64_gfx.so ${INSTALL_DATA} ${WRKSRC}/plugins/mupen64_input.so ${PREFIX}/lib/linux-mupen64/plugins/mupen64_input.so ${INSTALL_DATA} ${WRKSRC}/plugins/ricedaedalus.so ${PREFIX}/lib/linux-mupen64/plugins/ricedaedalus.so ${INSTALL_DATA} ${WRKSRC}/plugins/RiceDaedalus5.1.0.ini ${PREFIX}/lib/linux-mupen64/plugins/RiceDaedalus5.1.0.ini ${INSTALL_PROGRAM} ${WRKSRC}/mupen64 ${PREFIX}/libexec/linux-mupen64 ${INSTALL_SCRIPT} ${FILESDIR}/linux-mupen64 ${PREFIX}/bin/linux-mupen64 ${INSTALL_SCRIPT} ${WRKDIR}/linux-mupen64_install ${PREFIX}/bin/linux-mupen64_install post-install: @${CAT} ${PKGMESSAGE} .include