1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/audio/specimen/Makefile

41 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= jack:${PORTSDIR}/audio/jack \
lash:${PORTSDIR}/audio/lash \
samplerate:${PORTSDIR}/audio/libsamplerate \
sndfile:${PORTSDIR}/audio/libsndfile \
phat:${PORTSDIR}/x11-toolkits/phat
USES= pkgconfig gmake
NO_STAGE= yes
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>