diff options
author | lippe <lippe@FreeBSD.org> | 2008-05-31 12:21:34 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-05-31 12:21:34 +0800 |
commit | 3caecc7303e6209ab0b6394ff13baf79a7ae908b (patch) | |
tree | c54d444e6f3e781859f956ef19e09e9c6b3cec31 /emulators | |
parent | bc32b3eb5ecbf00f7225a4cd0e065e6d9ced4088 (diff) | |
download | freebsd-ports-graphics-3caecc7303e6209ab0b6394ff13baf79a7ae908b.tar.gz freebsd-ports-graphics-3caecc7303e6209ab0b6394ff13baf79a7ae908b.tar.zst freebsd-ports-graphics-3caecc7303e6209ab0b6394ff13baf79a7ae908b.zip |
Xcpc is a portable Amstrad CPC464/CPC664/CPC6128 Emulator
written in C. It is designed to run on any POSIX system
(Linux/BSD/UNIX-like OSes).
WWW: http://xcpc.sourceforge.net/
PR: ports/120189
Submitted by: Sven Klose <pixel@hugbox.org>
Approved by: gabor (mentor)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/xcpc/Makefile | 62 | ||||
-rw-r--r-- | emulators/xcpc/distinfo | 3 | ||||
-rw-r--r-- | emulators/xcpc/pkg-descr | 17 | ||||
-rw-r--r-- | emulators/xcpc/pkg-plist | 10 |
5 files changed, 93 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 8b397c11b07..cdc79e774f3 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -188,6 +188,7 @@ SUBDIR += wine-doors SUBDIR += x48 SUBDIR += xbraitenberg + SUBDIR += xcpc SUBDIR += xgngeo SUBDIR += xgs SUBDIR += xhomer diff --git a/emulators/xcpc/Makefile b/emulators/xcpc/Makefile new file mode 100644 index 00000000000..80f2d4bc9a0 --- /dev/null +++ b/emulators/xcpc/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: cpmtools +# Date created: 31 January 2008 +# Whom: joerg +# +# $FreeBSD$ +# + +PORTNAME= xcpc +PORTVERSION= 20070122 +CATEGORIES= emulators +MASTER_SITES= SF + +MAINTAINER= pixel@hugbox.org +COMMENT= A portable Amstrad 464&/664/6128 emulator + +HAS_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+=--prefix=${PREFIX} + +USE_XORG= ice +USE_GNOME= pkgconfig glib20 +USE_ICONV= yes +USE_GETTEXT= yes + +LIB_DEPENDS+= icui18n:${PORTSDIR}/devel/icu \ + pcre.0:${PORTSDIR}/devel/pcre \ + dsk.5:${PORTSDIR}/emulators/libdsk + +OPTIONS= MOTIF "With Motif widget set" on \ + ATHENA "With Athen widget set" off \ + XSHM "With XShm support" on \ + DEBUG "Turn debugging on" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.else +CONFIGURE_ARGS+=--disable-debug +.endif + +.if defined(WITH_XSHM) +CONFIGURE_ARGS+=--enable-xshm +.else +CONFIGURE_ARGS+=--disable-xshm +.endif + +.if defined(WITH_MOTIF) +USE_MOTIF=yes +CONFIGURE_ARGS+=--with-motif1 +.else +CONFIGURE_ARGS+=--without-motif1 +.endif + +.if defined(WITH_ATHENA) +LIB_DEPENDS+= Xaw.8:${PORTSDIR}/x11-toolkits/libXaw +CONFIGURE_ARGS+=--with-athena +.else +CONFIGURE_ARGS+=--without-athena +.endif + +.include <bsd.port.post.mk> diff --git a/emulators/xcpc/distinfo b/emulators/xcpc/distinfo new file mode 100644 index 00000000000..b7ff63af097 --- /dev/null +++ b/emulators/xcpc/distinfo @@ -0,0 +1,3 @@ +MD5 (xcpc-20070122.tar.gz) = 6b9d1c94b37e1cc10312dd46bd0696b7 +SHA256 (xcpc-20070122.tar.gz) = f63899248cb665375850855b9f3b201fe052f88f0883f75aa4d9fbef2b5cba43 +SIZE (xcpc-20070122.tar.gz) = 496627 diff --git a/emulators/xcpc/pkg-descr b/emulators/xcpc/pkg-descr new file mode 100644 index 00000000000..bc0a6867d3d --- /dev/null +++ b/emulators/xcpc/pkg-descr @@ -0,0 +1,17 @@ +Xcpc is a portable Amstrad CPC464/CPC664/CPC6128 Emulator written in C. +It is designed to run on any POSIX system (Linux/BSD/UNIX-like OSes). + +Implemented Features: + + * Athena GUI (selected at compilation time) + * Motif* GUI (selected at compilation time) + * Floppy disk images support (*.dsk) + * Snapshot memory images support (*.sna) + * Drag and Drop support (*.dsk, *.sna) + * Keyboard emulation (QWERTY, AZERTY) + * Joystick emulation (numeric keypad, numlock disabled) + * Almost full CRTC-6845 / GateArray emulation + * Adaptative frame-rate + +Author: Olivier Poncet <ponceto@noos.fr> +WWW: http://xcpc.sourceforge.net/ diff --git a/emulators/xcpc/pkg-plist b/emulators/xcpc/pkg-plist new file mode 100644 index 00000000000..c27f551ead9 --- /dev/null +++ b/emulators/xcpc/pkg-plist @@ -0,0 +1,10 @@ +bin/xcpc +share/applications/xcpc.desktop +share/pixmaps/xcpc.xpm +%%DATADIR%%/roms/amsdos.rom +%%DATADIR%%/roms/cpc464.rom +%%DATADIR%%/roms/cpc6128.rom +%%DATADIR%%/roms/cpc664.rom +@dirrm %%DATADIR%%/roms +@dirrm %%DATADIR%% +@dirrmtry share/applications |