aboutsummaryrefslogtreecommitdiff
path: root/audio/gtick/Makefile
blob: c89775b612c32c2252cb0fb79dbec0f0f4707916 (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
35
36
37
38
39
40
# New ports collection makefile for:	gtick
# Date created:		10 February 2004
# Whom:			Liam J. Foy <liamfoy@sepulcrum.org>
#
# $FreeBSD$
#

PORTNAME=	gtick
PORTVERSION=	0.5.1
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.antcom.de/gtick/download/ CENKES

MAINTAINER=	martymac@FreeBSD.org
COMMENT=	A metronome application

LICENSE=	GPLv3

LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
		pulse-simple.0:${PORTSDIR}/audio/pulseaudio

GNU_CONFIGURE=	yes
USE_GNOME=	gtk20
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=	gtick.1

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB+=	NLS=""
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure

.include <bsd.port.mk>