summaryrefslogtreecommitdiffstats
path: root/audio/patchage/Makefile
blob: 3c3d005ea7f82274b73b468a4caf1e4cd79c3629 (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
37
38
39
40
41
42
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	patchage
PORTVERSION=	0.5.0
PORTREVISION=	6
CATEGORIES=	audio
MASTER_SITES=	http://download.drobilla.net/ \
		http://frugalware.mirrors.tds.net/pub/linux/frugalware/frugalware-current/source/xmultimedia-extra/patchage/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Modular patch bay for Jack

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libjack.so:audio/jack \
		libraul.so:audio/raul \
		libboost_date_time.so:devel/boost-libs \
		libdbus-glib-1.so:devel/dbus-glib \
		libglibmm-2.4.so:devel/glibmm \
		libglademm-2.4.so:devel/libglademm24 \
		libflowcanvas.so:x11-toolkits/flowcanvas

USES=		pkgconfig tar:bzip2 waf
INSTALLS_ICONS=	yes
CONFIGURE_ARGS+=	--mandir=${MANPREFIX}/man \
			--no-alsa \
			--no-lash

CFLAGS+=	-I${LOCALBASE}/include

post-patch:
	@${REINPLACE_CMD} -e \
		"s|$$[{]LIBDIRNAME[}]/pkgconfig|libdata/pkgconfig| ; \
		 s|-fshow-column'|-fshow-column ${CXXFLAGS}'|" \
			${WRKSRC}/autowaf/autowaf.py

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud