From 532f96989f86cb4142e4bcf8e383324397d9677d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 17 Jun 2004 19:12:58 +0000 Subject: - Drop nvidia_driver dependency, it proved to be not needed - Reword pkg-message accordingly PR: ports/68024 Submitted by: Travis Poppe (maintainer) --- emulators/linux-mupen64/Makefile | 8 +++++--- emulators/linux-mupen64/files/pkg-message.in | 14 ++++++++++++++ emulators/linux-mupen64/pkg-message | 11 ----------- 3 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 emulators/linux-mupen64/files/pkg-message.in delete mode 100644 emulators/linux-mupen64/pkg-message (limited to 'emulators') diff --git a/emulators/linux-mupen64/Makefile b/emulators/linux-mupen64/Makefile index 4c61915e206a..5ecb0058d36b 100644 --- a/emulators/linux-mupen64/Makefile +++ b/emulators/linux-mupen64/Makefile @@ -7,7 +7,7 @@ PORTNAME= mupen64 PORTVERSION= 0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators linux MASTER_SITES= http://mupen64.emulation64.com/files/:mupen \ http://www.liquidx.org/distfiles/:plugins @@ -19,8 +19,7 @@ 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/X11R6/lib/libGL.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 @@ -31,6 +30,8 @@ ONLY_FOR_ARCHS= i386 INSTALLS_SHLIB= yes NO_BUILD= yes +PKGMESSAGE= ${WRKDIR}/pkg-message + # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. STRIP= @@ -38,6 +39,7 @@ STRIP= post-patch: @(cp ${FILESDIR}/linux-mupen64_install.in ${WRKDIR}/linux-mupen64_install) @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/linux-mupen64_install + @${SED} 's|%%LINUXBASE%%|${LINUXBASE}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} do-install: ${MKDIR} ${PREFIX}/lib/linux-mupen64 diff --git a/emulators/linux-mupen64/files/pkg-message.in b/emulators/linux-mupen64/files/pkg-message.in new file mode 100644 index 000000000000..3a189488f62b --- /dev/null +++ b/emulators/linux-mupen64/files/pkg-message.in @@ -0,0 +1,14 @@ +------------------------------------------------------------------------------- +You must run 'linux-mupen64_install' as the user you intend to use mupen64 with +before 'linux-mupen64' will work! + +If you are upgrading from a previous version, you should probably backup your +~/.linux-mupen64 directory and re-run the installation script. + +In order for the supplied plugins to work, you must first create the following +symbolic link by issuing this as root: + +ln -s %%LINUXBASE%%/usr/lib/libstdc++-libc6.1-1.so.2 %%LINUXBASE%%/usr/lib/libstdc++-libc6.1-2.so.3 + +Enjoy! +------------------------------------------------------------------------------- diff --git a/emulators/linux-mupen64/pkg-message b/emulators/linux-mupen64/pkg-message deleted file mode 100644 index 02724120f777..000000000000 --- a/emulators/linux-mupen64/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -------------------------------------------------------------------------------- -You must run 'linux-mupen64_install' as the user you intend to use mupen64 with -before 'linux-mupen64' will work! - -If you are upgrading from a previous version, you should probably backup your -~/.linux-mupen64 directory and re-run the installation script. - -Note: This port is only known to work with nVidia boards. Sorry :-\ - -Enjoy! -------------------------------------------------------------------------------- -- cgit v1.2.3