aboutsummaryrefslogtreecommitdiff
path: root/audio/nekobee
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
commit8157e9f8001110ec707b895aa362d7abc4f5c948 (patch)
tree81627af7b0f0c701d807cb8a4046a4740517b9f9 /audio/nekobee
parent671d1d9bd194a574d3933765d1cc084536ad8e91 (diff)
downloadports-8157e9f8001110ec707b895aa362d7abc4f5c948.tar.gz
ports-8157e9f8001110ec707b895aa362d7abc4f5c948.zip
Notes
Diffstat (limited to 'audio/nekobee')
-rw-r--r--audio/nekobee/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/audio/nekobee/Makefile b/audio/nekobee/Makefile
index 1672b911649e..a71daa3f3c00 100644
--- a/audio/nekobee/Makefile
+++ b/audio/nekobee/Makefile
@@ -21,25 +21,17 @@ USE_GITHUB= yes
GH_ACCOUNT= gordonjcp
GH_COMMIT= 3f4737f
-USES= pkgconfig
+USES= pkgconfig waf
USE_GNOME= gtk20
CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include
+LDFLAGS+= -lm
post-patch:
@${REINPLACE_CMD} -e \
'/LINKFLAGS/s|^|#|' ${WRKSRC}/wscript
-do-configure:
- @(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
- CPPFLAGS="${CPPFLAGS}" LINKFLAGS="-lm" \
- ./waf configure --prefix=${PREFIX})
-
-do-build:
- @(cd ${WRKSRC} && ./waf build -vvv -j${MAKE_JOBS_NUMBER})
-
-do-install:
- @(cd ${WRKSRC} && ./waf install --destdir=${STAGEDIR})
+post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee/nekobee_gtk