aboutsummaryrefslogtreecommitdiffstats
path: root/audio/patchage/Makefile
blob: 99bda21e9d254367d40af0531b7b40ed2510aaee (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
41
42
43
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=   patchage
PORTVERSION=    0.5.0
PORTREVISION=   10
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=       compiler:c++11-lang pkgconfig tar:bzip2 waf
USE_CXXSTD= c++11
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>