2013-05-16 10:32:07 +00:00
|
|
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
2007-01-24 20:43:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nekobee
|
2013-05-16 10:32:07 +00:00
|
|
|
PORTVERSION= 0.1.8
|
2014-05-21 05:40:08 +00:00
|
|
|
PORTREVISION= 2
|
2007-01-24 20:43:28 +00:00
|
|
|
CATEGORIES= audio
|
2013-05-16 10:32:07 +00:00
|
|
|
MASTER_SITES= GH
|
2007-01-24 20:43:28 +00:00
|
|
|
|
2010-10-25 20:09:06 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-01-24 20:43:28 +00:00
|
|
|
COMMENT= DSSI plugin that emulates the sound of the TB-303 Bassline
|
|
|
|
|
2013-05-16 10:32:07 +00:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2007-01-24 20:43:28 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi
|
2013-12-11 14:35:36 +00:00
|
|
|
LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \
|
|
|
|
liblo.so:${PORTSDIR}/audio/liblo \
|
|
|
|
libjack.so:${PORTSDIR}/audio/jack
|
2013-05-16 10:32:07 +00:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= gordonjcp
|
|
|
|
GH_COMMIT= 3f4737f
|
2007-01-24 20:43:28 +00:00
|
|
|
|
2013-09-12 00:21:10 +00:00
|
|
|
USES= pkgconfig
|
2007-01-24 20:43:28 +00:00
|
|
|
USE_GNOME= gtk20
|
2013-05-16 10:32:07 +00:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include
|
|
|
|
|
2014-05-21 05:40:08 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/LINKFLAGS/s|^|#|' ${WRKSRC}/wscript
|
2013-05-16 10:32:07 +00:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
|
2014-05-21 05:40:08 +00:00
|
|
|
CPPFLAGS="${CPPFLAGS}" LINKFLAGS="-lm" \
|
|
|
|
./waf configure --prefix=${PREFIX})
|
2013-05-16 10:32:07 +00:00
|
|
|
|
|
|
|
do-build:
|
2014-05-21 05:40:08 +00:00
|
|
|
@(cd ${WRKSRC} && ./waf build -vvv -j${MAKE_JOBS_NUMBER})
|
2013-05-16 10:32:07 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-04-11 21:26:20 +00:00
|
|
|
@(cd ${WRKSRC} && ./waf install --destdir=${STAGEDIR})
|
2014-05-21 05:40:08 +00:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee.so
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee/nekobee_gtk
|
2007-01-24 20:43:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|