aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/libspectrum/Makefile
blob: 81d788b2533a3b5c40e2851e0df505b2a04eddcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Alexey V. Antipovsky <kemm@in-line.ru>
# $FreeBSD$

PORTNAME=   libspectrum
PORTVERSION=    1.1.1
PORTREVISION=   4
CATEGORIES= emulators devel
MASTER_SITES=   SF/fuse-emulator/${PORTNAME}/${PORTVERSION}

MAINTAINER= rene@FreeBSD.org
COMMENT=    Handling of ZX-Spectrum emulator files formats

LICENSE=    GPLv2

LIB_DEPENDS=    libgcrypt.so:${PORTSDIR}/security/libgcrypt

GNU_CONFIGURE=  yes
USE_GNOME=  glib20
USE_LDCONFIG=   yes
USES=       gmake pkgconfig libtool

OPTIONS_DEFINE= AUDIOFILE DOCS
AUDIOFILE_DESC= Support loading from .wav files

AUDIOFILE_LIB_DEPENDS=  libaudiofile.so:${PORTSDIR}/audio/libaudiofile
AUDIOFILE_CONFIGURE_OFF=    --without-libaudiofile

INSTALL_TARGET= install-strip

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \
        doc/libspectrum.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>