summaryrefslogtreecommitdiff
path: root/emulators/ucon64
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-08 15:18:37 +0000
committernia <nia@pkgsrc.org>2021-05-08 15:18:37 +0000
commit1c9b25fb538d29994888e655f1c56c134bddc6e7 (patch)
treedb86bb7c3493ab92f5b5feeb31badafa177c7a5d /emulators/ucon64
parent68a86957feb47fc2db52890ea04d45b80df257ff (diff)
downloadpkgsrc-1c9b25fb538d29994888e655f1c56c134bddc6e7.tar.gz
ucon64: Fix build on macOS. Patch from Daniël Hörchner.
"There are several reasons not to enable libdiscmage, which is different than saying that it is unnecessary. It appears it is also unnecessary, as it has never gotten further than alpha status and certain functionality was actively disabled many years ago, but I never got any feedback about it. The presence of libdiscmage caused confusion for some users and I had discovered some issues in its limited functionality, so for version 2.2.1 of uCON64 I decided to change the default of the configure script to --without-libdiscmage. I probably should have stated that I consider libdiscmage deprecated, because several distribution channels responded by adding --with-libdiscmage to their build specifications for uCON64 instead. Among those is pkgsrc."
Diffstat (limited to 'emulators/ucon64')
-rw-r--r--emulators/ucon64/DESCR25
-rw-r--r--emulators/ucon64/Makefile15
-rw-r--r--emulators/ucon64/PLIST3
3 files changed, 17 insertions, 26 deletions
diff --git a/emulators/ucon64/DESCR b/emulators/ucon64/DESCR
index 11bbac6446a..796ff300422 100644
--- a/emulators/ucon64/DESCR
+++ b/emulators/ucon64/DESCR
@@ -1,18 +1,15 @@
uCON64 - THE tool for all your video game console concerns.
-- Support for 14+ different cartridge and disc-based video game console system
-- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and
- Game Genie
- *) with RLE compression
-- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and
- SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior),
- Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger
- Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash
- and your CD-writer.
+- Support for 14+ different cartridge and disc-based video game console systems.
+- Support for common patch file formats like: IPS, APS, BSL, PPF and Game Genie.
+- Support for 20+ different backup units to backup/restore ROM(s) and SRAM(s)
+ like: Super Wild Card, Super Pro Fighter, Game Doctor, Super Magic Drive,
+ Super Magic Card, Magic Super Griffin, Doctor V64 (Junior), Game Boy Xchanger,
+ Flash Advance Linker, Flash 2 Advance, MD-PRO, PCE-PRO, SMS-PRO, GG-PRO, CD64,
+ Pocket Linker, Super Flash, Super Card, SNES PowerPak and Super UFO Pro 8 SD.
Including:
- *VERY* verbose ROM information for ALL systems, detection of bad dumps using
- internal checksums or DAT files, CRC32 calculation, ROM comparison,
- modification (strip, pad, etc...), SRAM conversion (emulator <-> backup
- unit), DiscJuggler and Nero image conversions, complete gzip and zip support
- for all file-related funtions, etc...
+ Verbose ROM information for all systems, detection of bad dumps using internal
+ checksums or DAT files, CRC32 calculation, ROM comparison, modification
+ (strip, pad, etc.), SRAM conversion (emulator <-> backup unit), complete gzip
+ and zip support for all file related funtions.
diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile
index 0497637c039..213a63fc374 100644
--- a/emulators/ucon64/Makefile
+++ b/emulators/ucon64/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2021/01/08 21:39:04 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2021/05/08 15:18:37 nia Exp $
DISTNAME= ucon64-2.2.1-src
PKGNAME= ${DISTNAME:S/-src//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ucon64/}
@@ -20,24 +20,19 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
CONFIGURE_ARGS+= --with-libcd64
.endif
+# parallel port I/O cannot work on macOS, even on Intel
.if ${OPSYS} == "Darwin"
-EXT= dylib
-.else
-EXT= so
+CONFIGURE_ARGS+= --disable-parallel
.endif
-PLIST_SUBST+= EXT=${EXT}
-
-CONFIGURE_ARGS+= --with-libdiscmage
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CHECK_PORTABILITY_SKIP+= install_beos.sh
-INSTALLATION_DIRS= bin lib share/doc/ucon64/images
+INSTALLATION_DIRS= bin share/doc/ucon64/images
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${DESTDIR}${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/libdiscmage/discmage.${EXT} ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \
${DESTDIR}${PREFIX}/share/doc/ucon64
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \
diff --git a/emulators/ucon64/PLIST b/emulators/ucon64/PLIST
index aa8622110e2..964bc2d370c 100644
--- a/emulators/ucon64/PLIST
+++ b/emulators/ucon64/PLIST
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.7 2021/01/08 21:39:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/05/08 15:18:37 nia Exp $
bin/ucon64
-lib/discmage.${EXT}
share/doc/ucon64/changes.html
share/doc/ucon64/developers.html
share/doc/ucon64/faq.html