2003-10-29 17:19:28 +01:00
|
|
|
# New ports collection makefile for: libspectrum
|
|
|
|
# Date created: 2003-10-27
|
|
|
|
# Whom: Alexey V. Antipovsky <kemm@in-line.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libspectrum
|
2009-01-28 16:25:47 +01:00
|
|
|
PORTVERSION= 0.5.0.1
|
2003-10-29 17:19:28 +01:00
|
|
|
CATEGORIES= emulators devel
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/fuse-emulator/${PORTNAME}/${PORTVERSION}
|
2003-10-29 17:19:28 +01:00
|
|
|
|
2008-02-09 03:10:46 +01:00
|
|
|
MAINTAINER= yuri.pankov@gmail.com
|
2003-10-29 17:19:28 +01:00
|
|
|
COMMENT= Handling of ZX-Spectrum emulator files formats
|
|
|
|
|
2009-01-06 14:01:11 +01:00
|
|
|
LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt
|
2008-02-09 03:10:46 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= glib20
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-29 18:33:59 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-05-21 15:46:38 +02:00
|
|
|
MAN3= libspectrum.3
|
|
|
|
|
2008-02-09 03:10:46 +01:00
|
|
|
OPTIONS= AUDIOFILE "Support loading from .wav files" on
|
2005-05-21 15:46:38 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-02-09 03:10:46 +01:00
|
|
|
.if !defined(WITHOUT_AUDIOFILE)
|
|
|
|
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2003-10-29 17:19:28 +01:00
|
|
|
.else
|
2008-02-09 03:10:46 +01:00
|
|
|
CONFIGURE_ARGS+=--without-libaudiofile
|
2003-10-29 17:19:28 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-05-21 15:46:38 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} \
|
|
|
|
AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${DOCSDIR}
|
2003-10-29 17:19:28 +01:00
|
|
|
.endif
|
|
|
|
|
2005-05-21 15:46:38 +02:00
|
|
|
.include <bsd.port.post.mk>
|