# New ports collection makefile for: libspectrum # Date created: 2003-10-27 # Whom: Alexey V. Antipovsky # # $FreeBSD$ # PORTNAME= libspectrum PORTVERSION= 0.5.0.1 CATEGORIES= emulators devel MASTER_SITES= SF/fuse-emulator/${PORTNAME}/${PORTVERSION} MAINTAINER= yuri.pankov@gmail.com COMMENT= Handling of ZX-Spectrum emulator files formats LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt USE_GMAKE= yes USE_GNOME= glib20 GNU_CONFIGURE= yes USE_LDCONFIG= yes MAN3= libspectrum.3 OPTIONS= AUDIOFILE "Support loading from .wav files" on .include .if !defined(WITHOUT_AUDIOFILE) LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile .else CONFIGURE_ARGS+=--without-libaudiofile .endif .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} \ AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${DOCSDIR} .endif .include