1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/emulators/linux-mupen64/Makefile
Pete Fritchman 5245de9cc0 Change the linux_base-8 dependency to be a bit more strict (depend on a file
that only exists in linux_base-8).

Submitted by:	maintainer
2004-01-05 03:54:40 +00:00

66 lines
2.7 KiB
Makefile

# New ports collection makefile for: linux-mupen64
# Date created: 04 Oct 2003
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= mupen64
PORTVERSION= 0.3
PORTREVISION= 1
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 mupen64linplugins1.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/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}/mupen64linplugins1/* ${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_hle_rsp.so ${PREFIX}/lib/linux-mupen64/plugins/mupen64_hle_rsp.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 <bsd.port.mk>