6268dff479
GCC defines those, causing error, move those to be set only with Clang:: <command-line>: error: duplicate 'unsigned' <command-line>: error: declaration does not declare anything [-fpermissive] <command-line>: error: duplicate 'unsigned' <command-line>: error: declaration does not declare anything [-fpermissive]
40 lines
920 B
Makefile
40 lines
920 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= liquidsfz
|
|
DISTVERSION= 0.2.0
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Sampler that can load and play .sfz files, includes the LV2 pugin
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= lv2>0:audio/lv2
|
|
LIB_DEPENDS= libjack.so:audio/jack \
|
|
libsndfile.so:audio/libsndfile
|
|
|
|
USES= autoreconf compiler:c++17-lang gmake libtool pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= swesterfeld
|
|
|
|
PLIST_FILES= bin/liquidsfz \
|
|
include/liquidsfz.hh \
|
|
lib/libliquidsfz.a \
|
|
lib/lv2/liquidsfz.lv2/liquidsfz.ttl \
|
|
lib/lv2/liquidsfz.lv2/liquidsfz_lv2.so \
|
|
lib/lv2/liquidsfz.lv2/manifest.ttl \
|
|
libdata/pkgconfig/liquidsfz.pc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == clang
|
|
CXXFLAGS+= -Duint=unsigned -Dregister=registerx
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/liquidsfz.lv2/liquidsfz_lv2.so
|
|
|
|
.include <bsd.port.post.mk>
|