summaryrefslogtreecommitdiff
path: root/audio/amsynth/Makefile
blob: 35b34cddaed3d7b7813a9f2e55d55172b59447c1 (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
43
44
45
46
47

PORTNAME=	amsynth
DISTVERSION=	1.11.0
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	https://github.com/amsynth/amsynth/releases/download/release-${DISTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Analog modelling software synth

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

BUILD_DEPENDS=	dssi>0:audio/dssi
LIB_DEPENDS=	libasound.so:audio/alsa-lib \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libjack.so:audio/jack \
		liblash.so:audio/lash \
		liblo.so:audio/liblo \
		libsndfile.so:audio/libsndfile
RUN_DEPENDS=	dssi>0:audio/dssi

USES=		compiler:c++11-lang gettext-tools gmake gnome libtool localbase \
		pkgconfig
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 intltool pango
INSTALLS_ICONS=	yes

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=		MANPAGES NLS
OPTIONS_DEFAULT=	MANPAGES
OPTIONS_SUB=		yes

MANPAGES_BUILD_DEPENDS=		pandoc:textproc/hs-pandoc
MANPAGES_CONFIGURE_WITH=	pandoc

NLS_USES=		gettext
NLS_CONFIGURE_ENABLE=	nls

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/*.so \
		${STAGEDIR}${PREFIX}/lib/dssi/amsynth_dssi/amsynth_dssi_gtk \
		${STAGEDIR}${PREFIX}/lib/vst/amsynth_vst.so \
		${STAGEDIR}${PREFIX}/lib/lv2/amsynth.lv2/*.so

.include <bsd.port.mk>