summaryrefslogtreecommitdiff
path: root/emulators/libspectrum
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-21 13:46:38 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-21 13:46:38 +0000
commite382b6200f848f2619b598ba0b016565e663eecb (patch)
treed27396ccac1c3b6741845cc5220ca3014b78d33f /emulators/libspectrum
parentUpdate to 0.3.3 (diff)
Update to 0.2.2
PR: ports/81063 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org> Approved by: maintainer
Diffstat (limited to 'emulators/libspectrum')
-rw-r--r--emulators/libspectrum/Makefile34
-rw-r--r--emulators/libspectrum/distinfo4
-rw-r--r--emulators/libspectrum/pkg-plist3
3 files changed, 19 insertions, 22 deletions
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile
index 8aaea834225c..e3dc0b7e6ac6 100644
--- a/emulators/libspectrum/Makefile
+++ b/emulators/libspectrum/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libspectrum
-PORTVERSION= 0.2.0.1
+PORTVERSION= 0.2.2
CATEGORIES= emulators devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fuse-emulator
@@ -15,34 +15,32 @@ MAINTAINER= kemm@in-line.ru
COMMENT= Handling of ZX-Spectrum emulator files formats
USE_PERL5_BUILD= yes
-USE_GNOME= glib12
-USE_LIBTOOL_VER=13
+WANT_GNOME= yes
+USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
+MAN3= libspectrum.3
+
+OPTIONS= GLIB "Use GLib" on \
+ GCRYPT "Use libgcrypt" off
+
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_GLIB)
-USE_GNOME= glib12
+USE_GNOME= glib20
.else
-CONFIGURE_ARGS= --without-glib
+CONFIGURE_ARGS+= --without-glib
.endif
.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h)
-LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+= gcrypt.13:${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}
+ cd ${WRKSRC} && ${INSTALL_DATA} \
+ AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/libspectrum/distinfo b/emulators/libspectrum/distinfo
index f3c1007503ca..598a77ef5f97 100644
--- a/emulators/libspectrum/distinfo
+++ b/emulators/libspectrum/distinfo
@@ -1,2 +1,2 @@
-MD5 (libspectrum-0.2.0.1.tar.gz) = 576f41f0c7db0c7c34a447db4a11f22a
-SIZE (libspectrum-0.2.0.1.tar.gz) = 236857
+MD5 (libspectrum-0.2.2.tar.gz) = 30b0e5082b3b9d9f6fc430fd8912c0bd
+SIZE (libspectrum-0.2.2.tar.gz) = 386960
diff --git a/emulators/libspectrum/pkg-plist b/emulators/libspectrum/pkg-plist
index 86fab81705ab..e752750e4164 100644
--- a/emulators/libspectrum/pkg-plist
+++ b/emulators/libspectrum/pkg-plist
@@ -1,9 +1,8 @@
@comment $FreeBSD$
include/libspectrum.h
lib/libspectrum.a
-lib/libspectrum.la
lib/libspectrum.so
-lib/libspectrum.so.2
+lib/libspectrum.so.4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README