From ad5bc8bb0fed136d5cc01847bec1f187b66d256e Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 20 Oct 2009 09:40:33 +0000 Subject: [PATCH] - Update to 0.8 PR: 139763 Submitted by: Ports Fury --- audio/gtkguitune/Makefile | 20 ++++++++++++++++---- audio/gtkguitune/distinfo | 6 +++--- audio/gtkguitune/files/patch-guitune.cc | 14 -------------- audio/gtkguitune/files/patch-main.cc | 14 -------------- 4 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 audio/gtkguitune/files/patch-guitune.cc delete mode 100644 audio/gtkguitune/files/patch-main.cc diff --git a/audio/gtkguitune/Makefile b/audio/gtkguitune/Makefile index affc8482b289..2dbc4838c074 100644 --- a/audio/gtkguitune/Makefile +++ b/audio/gtkguitune/Makefile @@ -6,18 +6,30 @@ # PORTNAME= gtkguitune -PORTVERSION= 0.7 -PORTREVISION= 3 +PORTVERSION= 0.8 CATEGORIES= audio MASTER_SITES= http://www.geocities.com/harpin_floh/mysoft/ +DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A guitar (and other instruments) tuner for GTK -LIB_DEPENDS= gtkmm-1.2.2:${PORTSDIR}/x11-toolkits/gtkmm12 +LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 + +WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes +INSTALLS_ICONS= yes -PLIST_FILES= bin/gtkguitune +PLIST_FILES= bin/${PORTNAME} \ + share/icons/hicolor/scalable/apps/guitune_logo.svg + +post-patch: + @${REINPLACE_CMD} -e \ + 's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure +.for file in guitune.cc main.cc + @${REINPLACE_CMD} -e \ + 's|||' ${WRKSRC}/${file} +.endfor .include diff --git a/audio/gtkguitune/distinfo b/audio/gtkguitune/distinfo index 968d674ed3ae..af1d78f4d5f4 100644 --- a/audio/gtkguitune/distinfo +++ b/audio/gtkguitune/distinfo @@ -1,3 +1,3 @@ -MD5 (gtkguitune-0.7.tar.gz) = 1fa82bf4034b45750c831902a1a96bdf -SHA256 (gtkguitune-0.7.tar.gz) = a2816ab63d85c86d2e352ec2c2d3b4cb6d607f7593798533da0993bfb2db5bf3 -SIZE (gtkguitune-0.7.tar.gz) = 54992 +MD5 (gtkguitune-gtk2-0.8.tar.gz) = aeed6895e76af1fd0bce500fbe3e492a +SHA256 (gtkguitune-gtk2-0.8.tar.gz) = be0e8a8b8085498201d3674a1a719d4841a4f79cd7bcff3e14fec83512c30849 +SIZE (gtkguitune-gtk2-0.8.tar.gz) = 660808 diff --git a/audio/gtkguitune/files/patch-guitune.cc b/audio/gtkguitune/files/patch-guitune.cc deleted file mode 100644 index 711d88d5d22b..000000000000 --- a/audio/gtkguitune/files/patch-guitune.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- guitune.cc.orig Sat Feb 12 11:14:56 2005 -+++ guitune.cc Sat Feb 12 11:15:02 2005 -@@ -24,7 +24,11 @@ - #include - #include - #include -+#ifdef __linux__ - #include -+#else -+#include -+#endif - - #include - #include diff --git a/audio/gtkguitune/files/patch-main.cc b/audio/gtkguitune/files/patch-main.cc deleted file mode 100644 index 62f1005164f8..000000000000 --- a/audio/gtkguitune/files/patch-main.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- main.cc.orig Sat May 31 16:31:12 2003 -+++ main.cc Sat Feb 12 11:22:19 2005 -@@ -24,7 +24,11 @@ - #include - #include - #include -+#ifdef __linux__ - #include -+#else -+#include -+#endif - - #include - #include