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
|
2005-05-21 15:46:38 +02:00
|
|
|
PORTVERSION= 0.2.2
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
2003-10-29 17:19:28 +01:00
|
|
|
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
|
2005-05-21 15:46:38 +02:00
|
|
|
WANT_GNOME= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-10-29 17:19:28 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2005-05-21 15:46:38 +02:00
|
|
|
MAN3= libspectrum.3
|
|
|
|
|
|
|
|
OPTIONS= GLIB "Use GLib" on \
|
|
|
|
GCRYPT "Use libgcrypt" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-10-29 17:19:28 +01:00
|
|
|
.if !defined(WITHOUT_GLIB)
|
2005-05-21 15:46:38 +02:00
|
|
|
USE_GNOME= glib20
|
2003-10-29 17:19:28 +01:00
|
|
|
.else
|
2005-05-21 15:46:38 +02:00
|
|
|
CONFIGURE_ARGS+= --without-glib
|
2003-10-29 17:19:28 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h)
|
2005-05-21 15:46:38 +02:00
|
|
|
LIB_DEPENDS+= gcrypt.13:${PORTSDIR}/security/libgcrypt
|
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>
|