summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-07-15 12:37:03 +0000
committerwiz <wiz@pkgsrc.org>2015-07-15 12:37:03 +0000
commitef95db06ec38f2c79f326d7b10f1439ea8f01924 (patch)
tree85609bf1ec1aecf2cfab48db626ee19b9274693a /emulators
parent4f52ae9a84609a6b2f709122f7df847a84998f33 (diff)
downloadpkgsrc-ef95db06ec38f2c79f326d7b10f1439ea8f01924.tar.gz
Switch to .tar.gz, no more double zipping and dos2unix.
No functional change, but the package is much nicer now.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile21
-rw-r--r--emulators/mame/distinfo8
2 files changed, 8 insertions, 21 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 1517efb7ecd..92c628b9489 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.42 2015/07/14 20:14:49 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2015/07/15 12:37:03 wiz Exp $
-DISTNAME= mame0163s
-PKGNAME= ${DISTNAME:S/0/-0./:S/s$//}
+DISTNAME= mame-0.163
CATEGORIES= emulators
-MASTER_SITES= https://github.com/mamedev/mame/releases/download/mame0163/
-EXTRACT_SUFX= .zip
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
+GITHUB_TAG= ${DISTNAME:S/-//S/.//}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.mamedev.org/
@@ -21,11 +20,8 @@ RESTRICTED= selling is not allowed
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-BUILD_DEPENDS+= dos2unix-[0-9]*:../../converters/dos2unix
DEPENDS+= liberation-ttf-[0-9]*:../../fonts/liberation-ttf
-WRKSRC= ${WRKDIR}
-
USE_LANGUAGES= c99 c++
USE_TOOLS+= gmake pkg-config
UNLIMIT_RESOURCES+= datasize
@@ -89,15 +85,6 @@ MAKE_ENV+= BIGENDIAN=1
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.151
-# mame source is double-zipped
-post-extract:
- cd ${WRKDIR} && ${.CURDIR}/../../mk/extract/extract mame.zip
- rm ${WRKDIR}/mame.zip
- # This needs to be done for every file that is patched.
- ${RUN} for f in 3rdparty/mongoose/mongoose.c makefile; do \
- ${CP} ${WRKSRC}/$${f} ${WRKSRC}/$${f}.bak; \
- ${CAT} ${WRKSRC}/$${f}.bak | dos2unix >${WRKSRC}/$${f}; \
- done
pre-build:
# problems with mame-specific png.h
${RM} -f ${WRKDIR}/.buildlink/include/png*
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index a0f2cca657d..05550c48138 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.37 2015/07/14 21:44:55 wiz Exp $
+$NetBSD: distinfo,v 1.38 2015/07/15 12:37:03 wiz Exp $
-SHA1 (mame0163s.zip) = 14617c9d8a98d9f4c9709441b73285ad66f9b3c3
-RMD160 (mame0163s.zip) = d115f68b9ab6bd4f869149fb011955e1c1d5bc16
-Size (mame0163s.zip) = 83107428 bytes
+SHA1 (mame-0.163.tar.gz) = f3f3a8c74758db5bedaf6ee5dd31c30574d2510b
+RMD160 (mame-0.163.tar.gz) = 722dd17f78c53a72fa9003d50bbf11b9248c0837
+Size (mame-0.163.tar.gz) = 88920010 bytes
SHA1 (patch-3rdparty_bgfx_src_renderer__null.cpp) = 908f196d68c9b759b26a75331f543ed3ab73970c
SHA1 (patch-3rdparty_bx_include_bx_os.h) = 31d9e848dafc0f9a7459deac122577e9aebdc230
SHA1 (patch-3rdparty_bx_include_bx_platform.h) = a971c90f2ed169d35d4c600a0b4266f942f99383