aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/gngeo
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2017-03-18 14:57:10 +0800
committeracm <acm@FreeBSD.org>2017-03-18 14:57:10 +0800
commit4082fd1d29be50ff19488c125a47b1cb1291b054 (patch)
tree53098128bb4ef6d13be21bcb2c74b95f343b2f2a /emulators/gngeo
parent619401df8debd6b876e771211e12ac805234bda7 (diff)
downloadfreebsd-ports-gnome-4082fd1d29be50ff19488c125a47b1cb1291b054.tar.gz
freebsd-ports-gnome-4082fd1d29be50ff19488c125a47b1cb1291b054.tar.zst
freebsd-ports-gnome-4082fd1d29be50ff19488c125a47b1cb1291b054.zip
- Update MASTER_SITES
- Update WWW - Remove BROKEN/DEPRECATED - Add LICENSE
Diffstat (limited to 'emulators/gngeo')
-rw-r--r--emulators/gngeo/Makefile17
-rw-r--r--emulators/gngeo/distinfo5
-rw-r--r--emulators/gngeo/pkg-descr2
-rw-r--r--emulators/gngeo/pkg-plist2
4 files changed, 17 insertions, 9 deletions
diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile
index b6579cccb96e..910b32b6f90f 100644
--- a/emulators/gngeo/Makefile
+++ b/emulators/gngeo/Makefile
@@ -5,16 +5,16 @@ PORTNAME= gngeo
PORTVERSION= 0.8
PORTREVISION= 2
CATEGORIES= emulators
-MASTER_SITES= GOOGLE_CODE/${PORTNAME}
+MASTER_SITES= https://github.com/pepone42/gngeo/archive/ \
+ LOCAL/acm/${PORTNAME}
+DISTFILES= ${PORTNAME}_${PORTVERSION}.tar.gz
MAINTAINER= acm@FreeBSD.org
COMMENT= NeoGeo emulator
-BROKEN= Unfetchable (google code has gone away)
-DEPRECATED= Unfetchable for more than six months (google code has gone away)
-EXPIRATION_DATE= 2017-04-30
+LICENSE= GPLv2
-USES= compiler:features gmake
+USES= autoreconf compiler:features gmake
USE_SDL= image sdl
USE_GL= yes
@@ -28,6 +28,7 @@ USE_CSTD= gnu89
MAKE_ARGS+= CC_FOR_BUILD=${CC}
SUB_FILES= pkg-message
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}_${PORTVERSION}
OPTIONS_DEFINE_i386= ASM RAZE STAR
OPTIONS_DEFAULT_i386= ASM
@@ -76,8 +77,14 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
${WRKSRC}/src/generator68k/Makefile.in
+pre-configure:
+ @cd ${WRKSRC} && ${AUTORECONF} -i
+
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample_gngeorc ${STAGEDIR}${EXAMPLESDIR}/gngeorc
+ ${INSTALL_DATA} ${WRKSRC}/romrc ${STAGEDIR}${DATADIR}/romrc
+ ${INSTALL_DATA} ${WRKSRC}/gngeo.dat/gngeo_data.zip ${STAGEDIR}${DATADIR}/gngeo_data.zip
.include <bsd.port.post.mk>
diff --git a/emulators/gngeo/distinfo b/emulators/gngeo/distinfo
index 857f17bd6977..ef40222283c3 100644
--- a/emulators/gngeo/distinfo
+++ b/emulators/gngeo/distinfo
@@ -1,2 +1,3 @@
-SHA256 (gngeo-0.8.tar.gz) = 4955a36a978accbc13cc9d58be3dbbed8864f27c34446b2fea879ee27fd7c4b6
-SIZE (gngeo-0.8.tar.gz) = 1043579
+TIMESTAMP = 1489817213
+SHA256 (gngeo_0.8.tar.gz) = 6bad892e727f242fca43f6cbb8f136283f8a0c28bcfc5a97495aba59476ade4e
+SIZE (gngeo_0.8.tar.gz) = 1128342
diff --git a/emulators/gngeo/pkg-descr b/emulators/gngeo/pkg-descr
index 7aacbef465ed..80db50e8cae9 100644
--- a/emulators/gngeo/pkg-descr
+++ b/emulators/gngeo/pkg-descr
@@ -7,4 +7,4 @@ following cpu core:
* Z80 Mame core from the Mame project.
* YM2610 Mame core by Tatsuyuki Satoh.
-WWW: http://gngeo.berlios.de/
+WWW: https://github.com/pepone42/gngeo
diff --git a/emulators/gngeo/pkg-plist b/emulators/gngeo/pkg-plist
index b5c06bbea1d9..ecb06733526e 100644
--- a/emulators/gngeo/pkg-plist
+++ b/emulators/gngeo/pkg-plist
@@ -1,5 +1,5 @@
bin/gngeo
man/man1/gngeo.1.gz
%%DATADIR%%/gngeo_data.zip
+%%DATADIR%%/romrc
%%EXAMPLESDIR%%/gngeorc
-@unexec rmdir %D/%%DATADIR%% >/dev/null 2>&1 || echo "If you are permanently removing this port, you should remove the Neo-Geo BIOS files left in %D/%%DATADIR%%."