aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lash/Makefile
blob: fd314b82aed15e47589a1c912e2972349eb804f3 (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
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:    lash
# Date created:     2007-01-13
# Whom:         trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#

PORTNAME=   lash
PORTVERSION=    0.5.4
PORTREVISION=   8
CATEGORIES= audio
MASTER_SITES=   SAVANNAH

MAINTAINER= ports@FreeBSD.org
COMMENT=    Session management system for JACK audio applications

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

LIB_DEPENDS=    jack:${PORTSDIR}/audio/jack \
        uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
        dssialsacompat:${PORTSDIR}/audio/libdssialsacompat

USE_GNOME=  gnomehack gtk20 libxml2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-alsa-midi
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

CPPFLAGS+=  -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PORTDOCS=   lash-manual.html

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS=  texi2html:${PORTSDIR}/textproc/texi2html
.endif

post-extract:
    @${REINPLACE_CMD} -e 's|texi2html --number|texi2html|' \
        ${WRKSRC}/docs/Makefile.in

.if ${PORT_OPTIONS:MDOCS}
post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html ${DOCSDIR}
.endif

.include <bsd.port.mk>