File:  [cvs.NetBSD.org] / pkgsrc / audio / gtick / Makefile
Revision 1.10: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:05 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.10 2007/02/22 19:26:05 wiz Exp $
#

DISTNAME=	gtick-0.3.10
PKGREVISION=	1
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 "../../audio/libsndfile/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>