aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-24 02:11:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-24 02:11:44 +0800
commit1930b831b1f54a653f710128453fed5d4a2fd105 (patch)
treeebf7d0f2376afbf2fcf87f945bd5846248f8f861
parentc45718b6ae22044f0e033cd70a601b1ae91915dc (diff)
downloadfreebsd-ports-graphics-1930b831b1f54a653f710128453fed5d4a2fd105.tar.gz
freebsd-ports-graphics-1930b831b1f54a653f710128453fed5d4a2fd105.tar.zst
freebsd-ports-graphics-1930b831b1f54a653f710128453fed5d4a2fd105.zip
- Add LICENSE
- Switch to USES=localbase and pathfix PR: 209684 Submitted by: liangtai.s16@gmail.com (maintainer)
-rw-r--r--audio/libbs2b/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/audio/libbs2b/Makefile b/audio/libbs2b/Makefile
index 36c6afeb4ba..381016b9c49 100644
--- a/audio/libbs2b/Makefile
+++ b/audio/libbs2b/Makefile
@@ -1,4 +1,3 @@
-# Created by: SimaMoto,RyoTa <liangtai.s4@gmail.com>
# $FreeBSD$
PORTNAME= libbs2b
@@ -10,21 +9,18 @@ MASTER_SITES= SF/bs2b/${PORTNAME}/${PORTVERSION}
MAINTAINER= liangtai.s16@gmail.com
COMMENT= Bauer Stereophonic-to-Binaural DSP
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS+= libsndfile.so:audio/libsndfile \
libogg.so:audio/libogg \
libFLAC.so:audio/flac \
libvorbis.so:audio/libvorbis
-USES= tar:bzip2 gmake pkgconfig libtool
+USES= gmake libtool localbase pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= CFLAGS=`pkg-config --cflags sndfile` \
- LDFLAGS=`pkg-config --libs-only-L sndfile`
INSTALL_TARGET= install-strip
-pre-configure:
- ${REINPLACE_CMD} -e 's@^\(pkgconfigdir = \).*@\1$${prefix}/libdata/pkgconfig@' \
- ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>