View | Details | Raw Unified | Return to bug 139763
Collapse All | Expand All

(-)audio/gtkguitune/Makefile (-4 / +16 lines)
Lines 6-23 Link Here
6
#
6
#
7
7
8
PORTNAME=	gtkguitune
8
PORTNAME=	gtkguitune
9
PORTVERSION=	0.7
9
PORTVERSION=	0.8
10
PORTREVISION=	3
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	http://www.geocities.com/harpin_floh/mysoft/
11
MASTER_SITES=	http://www.geocities.com/harpin_floh/mysoft/
12
DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A guitar (and other instruments) tuner for GTK
15
COMMENT=	A guitar (and other instruments) tuner for GTK
16
16
17
LIB_DEPENDS=	gtkmm-1.2.2:${PORTSDIR}/x11-toolkits/gtkmm12
17
LIB_DEPENDS=	gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
18
19
WRKSRC=		${WRKDIR}/${PORTNAME}
18
20
19
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
INSTALLS_ICONS=	yes
23
24
PLIST_FILES=	bin/${PORTNAME} \
25
		share/icons/hicolor/scalable/apps/guitune_logo.svg
20
26
21
PLIST_FILES=	bin/gtkguitune
27
post-patch:
28
	@${REINPLACE_CMD} -e \
29
		's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure
30
.for file in guitune.cc main.cc
31
	@${REINPLACE_CMD} -e \
32
		's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${file}
33
.endfor
22
34
23
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)audio/gtkguitune/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gtkguitune-0.7.tar.gz) = 1fa82bf4034b45750c831902a1a96bdf
1
MD5 (gtkguitune-gtk2-0.8.tar.gz) = aeed6895e76af1fd0bce500fbe3e492a
2
SHA256 (gtkguitune-0.7.tar.gz) = a2816ab63d85c86d2e352ec2c2d3b4cb6d607f7593798533da0993bfb2db5bf3
2
SHA256 (gtkguitune-gtk2-0.8.tar.gz) = be0e8a8b8085498201d3674a1a719d4841a4f79cd7bcff3e14fec83512c30849
3
SIZE (gtkguitune-0.7.tar.gz) = 54992
3
SIZE (gtkguitune-gtk2-0.8.tar.gz) = 660808
(-)audio/gtkguitune/files/patch-guitune.cc (-14 lines)
Lines 1-14 Link Here
1
--- guitune.cc.orig	Sat Feb 12 11:14:56 2005
2
+++ guitune.cc	Sat Feb 12 11:15:02 2005
3
@@ -24,7 +24,11 @@
4
 #include <sys/stat.h>
5
 #include <fcntl.h>
6
 #include <sys/ioctl.h>
7
+#ifdef __linux__
8
 #include <linux/soundcard.h>
9
+#else
10
+#include <sys/soundcard.h>
11
+#endif
12
 
13
 #include <gtk--/main.h>
14
 #include <gtk--/box.h>
(-)audio/gtkguitune/files/patch-main.cc (-14 lines)
Lines 1-14 Link Here
1
--- main.cc.orig	Sat May 31 16:31:12 2003
2
+++ main.cc	Sat Feb 12 11:22:19 2005
3
@@ -24,7 +24,11 @@
4
 #include <fcntl.h>
5
 #include <unistd.h>
6
 #include <sys/ioctl.h>
7
+#ifdef __linux__
8
 #include <linux/soundcard.h>
9
+#else
10
+#include <sys/soundcard.h>
11
+#endif
12
 
13
 #include <gtk/gtk.h>
14
 #include <gtk--/window.h>

Return to bug 139763