mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= specimen
|
|
DISTVERSION= 0.5.2-rc3
|
|
PORTREVISION= 7
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://zhevny.com/specimen/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MIDI controllable audio sampler
|
|
|
|
# Between 0.109.0 and earlier versions there was an api change in JACK.
|
|
# However, the library version number was not changed. The line above
|
|
# is supposed to work around that.
|
|
|
|
BUILD_DEPENDS= jackit>=0.109.2:${PORTSDIR}/audio/jack
|
|
LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \
|
|
liblash.so:${PORTSDIR}/audio/lash \
|
|
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
|
libsndfile.so:${PORTSDIR}/audio/libsndfile \
|
|
libphat.so:${PORTSDIR}/x11-toolkits/phat
|
|
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= libgnomecanvas libxml2
|
|
GNU_CONFIGURE= yes
|
|
LDFLAGS+= -lm
|
|
|
|
DESKTOP_ENTRIES="Specimen" "" "${DATADIR}/pixmaps/specimen.png" \
|
|
"${PORTNAME}" "" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-Werror|| ; \
|
|
s|-O3|$$CFLAGS|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|-l\.\.|-I..|' ${WRKSRC}/src/gui/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|