freebsd-ports/emulators/ucon64/Makefile
Kai Knoblich 21afc64167 emulators/ucon64: Update to 2.2.0
* Switch to options framework to make the port more flexible
* Remove no longer required patches that have been adapted by upstream
* Add license information

Also while I'm here:
* Order variables a bit according to the PHB with the support of portclippy.

Notable changes since 2.0.0:

Additions:
* (N64) Support for remaining 6101, 6103, and 6106 bootcodes
* (Coleco) Recognition of Coleco ROMs
* (Virtual Boy) Recognition of Virtual Boy ROMs
* (NDS) Recognition of DS ROMs
* (Atari) Recognition of Atari VCS 2600 ROMs
* Added support for NetBSD
* Introduction of many new command-line switches

Updates/Fixes:
* Updated support for OpenBSD (64-bit)
* Many fixes/improvements for backup devices, ROM types and command-line
  switches

http://ucon64.sourceforge.net/ucon64/changes.html

PR:		238275
Submitted by:	Allison Nicole Reid <root@cooltrainer.org> (maintainer)
2019-06-08 16:16:48 +00:00

55 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= ucon64
PORTVERSION= 2.2.0
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME:tl}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= root@cooltrainer.org
COMMENT= Multipurpose video game ROM image and backup utility
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../license.html # only available as HTML file
USES= gmake
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WRKSRC_SUBDIR= src
PLIST_FILES= bin/ucon64
OPTIONS_DEFINE= COLOR DEBUG DISCMAGE PARALLEL USB ZLIB
OPTIONS_DEFAULT=COLOR DISCMAGE PARALLEL USB ZLIB
OPTIONS_SUB= yes
COLOR_DESC= ANSI-colored output
DEBUG_DESC= Additional debugging output
DISCMAGE_DESC= ISO/BIN/CDI format support
PARALLEL_DESC= Parallel port backup unit support
USB_DESC= USB backup unit support
ZLIB_DESC= ZIP/gzip archive support
COLOR_CONFIGURE_ENABLE= ansi-color
DEBUG_CONFIGURE_ENABLE= debug
DISCMAGE_CONFIGURE_WITH= libdiscmage
DISCMAGE_PLIST_FILES= lib/libdiscmage.so
PARALLEL_CONFIGURE_ENABLE= parallel
USB_CONFIGURE_WITH= libusb
ZLIB_CONFIGURE_WITH= zlib
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64.c
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64_misc.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DISCMAGE-on:
${INSTALL_LIB} ${WRKSRC}/libdiscmage/discmage.so \
${STAGEDIR}${PREFIX}/lib/libdiscmage.so
.include <bsd.port.mk>