aboutsummaryrefslogtreecommitdiff
path: root/audio/gtkguitune/Makefile
blob: a4aad3658016dca57b4ca24af776025c69ef2260 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gtkguitune
PORTVERSION=	0.8
PORTREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	http://www.oocities.org/harpin_floh/mysoft/
DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Guitar (and other instruments) tuner for GTK+2

LIB_DEPENDS=	gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24

WRKSRC=		${WRKDIR}/${PORTNAME}

USES=		pkgconfig
NO_STAGE=	yes
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes

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|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>