summaryrefslogtreecommitdiff
path: root/audio/gtick/Makefile
blob: 6f2d2dc98d12cbb2406779738c2820ec733b1e02 (plain)
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
35
36
# $NetBSD: Makefile,v 1.3 2006/02/05 23:08:09 joerg Exp $
#

DISTNAME=	gtick-0.3.7
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	http://www.antcom.de/gtick/download/

MAINTAINER=	rpaulo@NetBSD.org
HOMEPAGE=	http://www.antcom.de/gtick/
COMMENT=	Metronome application using GTK2+

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=       yes
USE_TOOLS+=		pkg-config

LIBS+=			${LIBOSSAUDIO}

SUBST_CLASSES+=		oss
SUBST_MESSAGE.oss=	"Fixing paths to OSS devices."
SUBST_STAGE.oss=	pre-configure
SUBST_FILES.oss=	src/globals.h
SUBST_SED.oss=		-e 's|/dev/dsp|${DEVOSSAUDIO}|g'

SUBST_CLASSES+=		header
SUBST_MESSAGE.header=	"Fixing include dependency."
SUBST_STAGE.header=	pre-configure
SUBST_FILES.header=	src/dsp.c
SUBST_SED.header=	-e 's/FreeBSD__)/& || defined(__NetBSD__)/g'

.include "../../mk/ossaudio.buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"