blob: c704a5e6d9ed56f1e30d499d8a778a57ac801479 (
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
|
# Created by: xaimus <xaimus@gmail.com>
# $FreeBSD$
PORTNAME= slv2
PORTVERSION= 0.6.6
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= LV2 Application Support Library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/lv2.h:audio/lv2
LIB_DEPENDS= libjack.so:audio/jack \
librdf.so:textproc/redland
USES= pkgconfig tar:bzip2 waf
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e \
'/pkgconfig/s|$${LIBDIRNAME}|libdata|' ${WRKSRC}/autowaf.py
@${REINPLACE_CMD} -e \
'/autowaf.build_dox/s|^|#| ; \
/HTMLDIR/s|^|#| ; \
/MANDIR/s|^|#|' ${WRKSRC}/wscript
@${REINPLACE_CMD} -e \
's|^#define _XOPEN_SOURCE .*||' ${WRKSRC}/src/plugin.c
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libslv2.so
.for file in lv2_inspect lv2_jack_host lv2_list lv2_simple_jack_host
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>
|