OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [UPDATE] emulators/zsnes

From: Aleksander Piotrowski (aleksander.piotrowskinic.com.pl)
Date: Tue Oct 04 2005 - 04:34:05 CDT


Jonathan Schleifer <jsh3c.de> wrote:

> Here's an update for the really old zsnes port from 1.36 to 1.42.
> The port wasn't updated for years, therefore I ask if I could maintain
> it.

        diff -Nru zsnes.old/Makefile zsnes/Makefile
        --- zsnes.old/Makefile Tue Oct 4 00:51:52 2005
        +++ zsnes/Makefile Tue Oct 4 00:53:09 2005
         -3,13 +3,13
         ONLY_FOR_ARCHS= i386
 
         COMMENT= "Super Nintendo emulator for x86"
        -VERSION= 1.36
        -DISTNAME= zsnes-${VERSION}
        -PKGNAME= ${DISTNAME}p0
        +VERSION= 1.42
        +DISTNAME= zsnes_${VERSION:S/./_/}
        +PKGNAME= zsnes-${VERSION}p0

PKGNAME with p0 is not needed as you have changed version, right?

         -21,7 +21,8
         PERMIT_DISTFILES_FTP= Yes
         WANTLIB= GL X11 Xext c m pthread usbhid z
 
        -BUILD_DEPENDS= nasm::devel/nasm
        +BUILD_DEPENDS= nasm::devel/nasm \
        + automake-1.4::devel/automake/1.4
         LIB_DEPENDS= SDL.:sdl-*-!no_x11:devel/sdl \
                                 png.2::graphics/png

If automake is needed to build this port then try to use following:
CONFIGURE_STYLE= automake
 
         do-install:
        - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zsnes
        - cd ${WRKBUILD} && \
        + cd ${WRKBUILD} && \
                         ${INSTALL_PROGRAM} zsnes ${PREFIX}/bin

Why not ${INSTALL_PROGRAM} ${WRKBUILD}/zsnes ${PREFIX}/bin?

Alek