diff options
author | sergei <sergei@FreeBSD.org> | 2003-10-29 16:19:28 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-10-29 16:19:28 +0000 |
commit | a3b6b86895fc821e7b177c3463e108efe5213732 (patch) | |
tree | 5da2a36ccdf6ebd806f0aeaa334314025e428dc4 /emulators/libspectrum/Makefile | |
parent | 3039000afb9a38115966316722e8f38e0549554d (diff) | |
download | FreeBSD-ports-a3b6b86895fc821e7b177c3463e108efe5213732.zip FreeBSD-ports-a3b6b86895fc821e7b177c3463e108efe5213732.tar.gz |
Add libspectrum 0.2.0.1, handling of ZX-Spectrum emulator files formats.
libspectrum is a fairly simple library designed to make the handling
of various ZX Spectrum emulator-related file formats easy.
So far it handles:
* Snapshots: .z80, .szx, .sna (all read/write), .zxs, .sp.,
.snp and +D snapshots (read only)
* Tape images: .tzx, .tap (read/write) and Warajevo .tap (read only)
* Input recordings: .rzx (read/write)
* Timex cartridges: .dck (read only)
There are also some subsidiary functions which may be generally useful
for Spectrum-related utilities.
Author: Philip Kendall <pak21-spectrum@srcf.ucam.org>
WWW: http://www.srcf.ucam.org/~pak21/spectrum/libspectrum.html
PR: 58638
Submitted by: Alexey V. Antipovsky <kemm@in-line.ru>
Diffstat (limited to 'emulators/libspectrum/Makefile')
-rw-r--r-- | emulators/libspectrum/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile new file mode 100644 index 0000000..0b71b42 --- /dev/null +++ b/emulators/libspectrum/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: libspectrum +# Date created: 2003-10-27 +# Whom: Alexey V. Antipovsky <kemm@in-line.ru> +# +# $FreeBSD$ +# + +PORTNAME= libspectrum +PORTVERSION= 0.2.0.1 +CATEGORIES= emulators devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= fuse-emulator + +MAINTAINER= kemm@in-line.ru +COMMENT= Handling of ZX-Spectrum emulator files formats + +USE_PERL5_BUILD= yes +USE_GNOME= glib12 +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes + +.if !defined(WITHOUT_GLIB) +USE_GNOME= glib12 +.else +CONFIGURE_ARGS= --without-glib +.endif + +.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h) +LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt +.endif + +DOCS= AUTHORS ChangeLog README THANKS doc/* + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "You may use the following build options:" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITHOUT_GLIB=yes don't use GLib" + @${ECHO_MSG} " WITH_GCRYPT=yes use libgcrypt" + @${ECHO_MSG} "" + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> |