Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 20:09:56 GMT
From:      Sven Klose <pixel@hugbox.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/120189: New port: emulators/xcpc: A portable Amstrad CPC 464/664/6128 emulator
Message-ID:  <200801312009.m0VK9uhN035143@www.freebsd.org>
Resent-Message-ID: <200801312020.m0VKK2b2008544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120189
>Category:       ports
>Synopsis:       New port: emulators/xcpc: A portable Amstrad CPC 464/664/6128 emulator
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 20:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sven Klose
>Release:        6.3-RELEASE
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
Requires emulators/libdsk (see ports/120179)

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/emulators/xcpc/
#	/usr/ports/emulators/xcpc/Makefile
#	/usr/ports/emulators/xcpc/distinfo
#	/usr/ports/emulators/xcpc/pkg-plist
#	/usr/ports/emulators/xcpc/pkg-descr
#
echo c - /usr/ports/emulators/xcpc/
mkdir -p /usr/ports/emulators/xcpc/ > /dev/null 2>&1
echo x - /usr/ports/emulators/xcpc/Makefile
sed 's/^X//' >/usr/ports/emulators/xcpc/Makefile << 'END-of-/usr/ports/emulators/xcpc/Makefile'
X# New ports collection makefile for:	cpmtools
X# Date created:		31 January 2008
X# Whom:			joerg
X#
X# $FreeBSD: ports/emulators/cpmtools/Makefile,v 1.22 2003/12/09 21:33:03 joerg Exp $
X#
X
XPORTNAME=		xcpc
XPORTVERSION=	20070122
XCATEGORIES=		emulators
XMASTER_SITES=	http://prdownloads.sourceforge.net/xcpc/ \
X				http://www.hugbox.org/software/ports/
X
XMAINTAINER=	pixel@hugbox.org
XCOMMENT=	A portable Amstrad 464&/664/6128 emulator
X
XHAS_CONFIGURE=		yes
XCONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
XCONFIGURE_ARGS+=	--prefix=${PREFIX}
X
XBUILD_DEPENDS+=	pkg-config:${PORTSDIR}/devel/pkg-config
XLIB_DEPENDS+=	glib-2.0.0:${PORTSDIR}/devel/glib20 \
X				iconv.3:${PORTSDIR}/converters/iconv \
X				ICE.6:${PORTSDIR}/x11/libICE \
X				icui18n:${PORTSDIR}/devel/libicu \
X				intl.8:${PORTSDIR}/devel/gettext \
X				pcre.0:${PORTSDIR}/devel/pcre \
X				dsk.5:${PORTSDIR}/emulators/libdsk
X
XOPTIONS=	MOTIF "With Motif widget set" on \
X			ATHENA "With Athen widget set" off \
X			XSHM "With XShm support" on \
X			DEBUG "Turn debugging on" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=--enable-debug
X.else
XCONFIGURE_ARGS+=--disable-debug
X.endif
X
X.if defined(WITH_XSHM)
XCONFIGURE_ARGS+=--enable-xshm
X.else
XCONFIGURE_ARGS+=--disable-xshm
X.endif
X
X.if defined(WITH_MOTIF)
XUSE_MOTIF=yes
XCONFIGURE_ARGS+=--with-motif1
X.else
XCONFIGURE_ARGS+=--without-motif1
X.endif
X
X.if defined(WITH_ATHENA)
XLIB_DEPENDS+=	Xaw.8:${PORTSDIR}/x11-toolkits/libXaw
XCONFIGURE_ARGS+=--with-athena
X.else
XCONFIGURE_ARGS+=--without-athena
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/emulators/xcpc/Makefile
echo x - /usr/ports/emulators/xcpc/distinfo
sed 's/^X//' >/usr/ports/emulators/xcpc/distinfo << 'END-of-/usr/ports/emulators/xcpc/distinfo'
XMD5 (xcpc-20070122.tar.gz) = 6b9d1c94b37e1cc10312dd46bd0696b7
XSHA256 (xcpc-20070122.tar.gz) = f63899248cb665375850855b9f3b201fe052f88f0883f75aa4d9fbef2b5cba43
XSIZE (xcpc-20070122.tar.gz) = 496627
END-of-/usr/ports/emulators/xcpc/distinfo
echo x - /usr/ports/emulators/xcpc/pkg-plist
sed 's/^X//' >/usr/ports/emulators/xcpc/pkg-plist << 'END-of-/usr/ports/emulators/xcpc/pkg-plist'
Xbin/xcpc
Xshare/applications/xcpc.desktop
Xshare/pixmaps/xcpc.xpm
Xshare/xcpc/roms/amsdos.rom
Xshare/xcpc/roms/cpc464.rom
Xshare/xcpc/roms/cpc6128.rom
Xshare/xcpc/roms/cpc664.rom
X@dirrm share/xcpc/roms
X@dirrm share/xcpc
END-of-/usr/ports/emulators/xcpc/pkg-plist
echo x - /usr/ports/emulators/xcpc/pkg-descr
sed 's/^X//' >/usr/ports/emulators/xcpc/pkg-descr << 'END-of-/usr/ports/emulators/xcpc/pkg-descr'
XXcpc is a portable Amstrad CPC464/CPC664/CPC6128 Emulator written in C.
XIt is designed to run on any POSIX system (Linux/BSD/UNIX-like OSes).
X
XImplemented Features:
X
X    * Athena GUI (selected at compilation time)
X    * Motif* GUI (selected at compilation time)
X    * Floppy disk images support (*.dsk)
X    * Snapshot memory images support (*.sna)
X    * Drag and Drop support (*.dsk, *.sna)
X    * Keyboard emulation (QWERTY, AZERTY)
X    * Joystick emulation (numeric keypad, numlock disabled)
X    * Almost full CRTC-6845 / GateArray emulation
X    * Adaptative frame-rate
X
XAuthor: Olivier Poncet <ponceto@noos.fr>
XWWW: http://xcpc.sourceforge.net/
END-of-/usr/ports/emulators/xcpc/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801312009.m0VK9uhN035143>