aboutsummaryrefslogtreecommitdiffstats
path: root/audio/padthv1-lv2/Makefile
blob: 21a1d6cda9401eb70fe7ce36bde2c0edfc887487 (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
# $FreeBSD$

PORTNAME=   padthv1
DISTVERSIONPREFIX=  ${PORTNAME}_
DISTVERSION=    0_8_6
CATEGORIES= audio
PKGNAMESUFFIX=  -lv2

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Old-school polyphonic additive synthesizer

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  lv2>0:audio/lv2
LIB_DEPENDS=    libfftw3.so:math/fftw3 \
        libjack.so:audio/jack \
        liblo.so:audio/liblo

USES=       autoreconf gmake pkgconfig shared-mime-info
GNU_CONFIGURE=  yes
USE_GITHUB= yes
GH_ACCOUNT= rncbc
USE_GL=     gl
USE_QT5=    core gui widgets xml buildtools_build qmake_build

PLIST_SUB=  SHL3=${DISTVERSION:S/_/./g} SHL2=${DISTVERSION:C/([[:digit:]])_([[:digit:]])_[[:digit:]]/\1.\2/} SHL1=${DISTVERSION:C/([[:digit:]])_.*/\1/}

CONFIGURE_ARGS= --disable-alsa-midi

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/padthv1.lv2/padthv1.so
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/padthv1.lv2/padthv1_ui.so

.include <bsd.port.mk>