diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-07-15 05:13:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-07-15 05:13:43 +0000 |
commit | e3dee835dd0b55f895fd579c5f161238050d96ea (patch) | |
tree | c204b61f927d58dbaff8c96ad6670422b74a594b /emulators/snes9express | |
parent | 02a7154780a1fe8f717f3432065c0af700f02ea8 (diff) | |
download | ports-e3dee835dd0b55f895fd579c5f161238050d96ea.tar.gz ports-e3dee835dd0b55f895fd579c5f161238050d96ea.zip |
Notes
Diffstat (limited to 'emulators/snes9express')
-rw-r--r-- | emulators/snes9express/Makefile | 34 | ||||
-rw-r--r-- | emulators/snes9express/distinfo | 6 | ||||
-rw-r--r-- | emulators/snes9express/files/patch-frend.cc | 10 | ||||
-rw-r--r-- | emulators/snes9express/files/patch-s9xskin.h | 10 | ||||
-rw-r--r-- | emulators/snes9express/pkg-plist | 10 |
5 files changed, 20 insertions, 50 deletions
diff --git a/emulators/snes9express/Makefile b/emulators/snes9express/Makefile index cff603f272a5..a8d549cbd717 100644 --- a/emulators/snes9express/Makefile +++ b/emulators/snes9express/Makefile @@ -6,8 +6,7 @@ # PORTNAME= snes9express -PORTVERSION= 1.42 -PORTREVISION= 11 +PORTVERSION= 1.43 CATEGORIES= emulators MASTER_SITES= SF @@ -16,29 +15,30 @@ COMMENT= GTK interface for snes9x RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x -USE_GETTEXT= yes USE_GNOME= gtk20 +USE_GETTEXT= yes GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile -.endif +PORTDOCS= AUTHORS ChangeLog NEWS README +PLIST_FILES= bin/${PORTNAME} \ + %%DATADIR%%/snes.s9xskin \ + %%DATADIR%%/snsp.s9xskin +PLIST_DIRS= %%DATADIR%% -post-configure: - @${REINPLACE_CMD} -e 's|lstat$$U.o||' ${WRKSRC}/Makefile +post-patch: + @${REINPLACE_CMD} -e 's|<endian\.h>|<sys/endian.h>|' \ + ${WRKSRC}/s9xskin.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/snes9express ${PREFIX}/bin/snes9express - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/snes.s9xskin ${DATADIR}/snes.s9xskin - ${INSTALL_DATA} ${WRKSRC}/snsp.s9xskin ${DATADIR}/snsp.s9xskin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR} .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for file in AUTHORS ChangeLog COPYING NEWS README + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/emulators/snes9express/distinfo b/emulators/snes9express/distinfo index a1eb7bdd4174..8213ce7f0211 100644 --- a/emulators/snes9express/distinfo +++ b/emulators/snes9express/distinfo @@ -1,3 +1,3 @@ -MD5 (snes9express-1.42.tar.gz) = 53dbfe0641d8393e0782f152cf75b9e9 -SHA256 (snes9express-1.42.tar.gz) = f2b57f7dd24a6771d1c2304e88cbd8afab512891d762c2f54fb632711c7eca7a -SIZE (snes9express-1.42.tar.gz) = 367561 +MD5 (snes9express-1.43.tar.gz) = a9b827d34335d2eb0c0dc2d11dc39f58 +SHA256 (snes9express-1.43.tar.gz) = e54a811db4e4a8a261ffb8363ab7e81b4b46bec61678c2cb991ae632f6121b56 +SIZE (snes9express-1.43.tar.gz) = 398369 diff --git a/emulators/snes9express/files/patch-frend.cc b/emulators/snes9express/files/patch-frend.cc deleted file mode 100644 index 2e33ce31cf0b..000000000000 --- a/emulators/snes9express/files/patch-frend.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- frend.cc.orig Thu Mar 10 13:43:06 2005 -+++ frend.cc Thu Mar 10 13:44:15 2005 -@@ -18,6 +18,7 @@ - #include "frend.h" - #include <unistd.h> - #include <sys/stat.h> -+#include <sys/errno.h> - #include <cstdlib> - #include <climits> - #include <sstream> diff --git a/emulators/snes9express/files/patch-s9xskin.h b/emulators/snes9express/files/patch-s9xskin.h deleted file mode 100644 index 29d306c6a2a2..000000000000 --- a/emulators/snes9express/files/patch-s9xskin.h +++ /dev/null @@ -1,10 +0,0 @@ ---- s9xskin.h.orig Mon Mar 21 23:22:23 2005 -+++ s9xskin.h Mon Mar 21 23:22:34 2005 -@@ -8,6 +8,7 @@ - #include <cstdio> - #include <cstdlib> - #include <iostream> -+#include <sys/types.h> - #include <netinet/in.h> - #include <string> - #include <map> diff --git a/emulators/snes9express/pkg-plist b/emulators/snes9express/pkg-plist deleted file mode 100644 index b03a49116271..000000000000 --- a/emulators/snes9express/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -bin/snes9express -%%DATADIR%%/snes.s9xskin -%%DATADIR%%/snsp.s9xskin -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DATADIR%% |