freebsd-ports/misc/libsupertone/Makefile
Dmitry Marakasov b5868273b3 - Switch comms/spandsp-devel to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed
- Use install-strip target instead of STRIP_CMD
- Add/fix libspandsp.so versions in LIB_DEPENDS to differentiate between spandsp and spandsp-devel

Approved by:	portmgr blanket
2014-08-27 11:43:25 +00:00

32 lines
822 B
Makefile

# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
PORTNAME= libsupertone
PORTVERSION= 0.0.2
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= http://www.soft-switch.org/downloads/unicall/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Library for supervisory tone generation and detection
LICENSE= LGPL21
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
libspandsp.so.2.0.0:${PORTSDIR}/comms/spandsp-devel \
libtiff.so:${PORTSDIR}/graphics/tiff \
libxml2.so:${PORTSDIR}/textproc/libxml2
USES= tar:tgz libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# Add missing dependency in attempt to fix parallel (-jX) builds
post-patch:
@${REINPLACE_CMD} -e '/DEPENDENCIES =/s,$$, $$(lib_LTLIBRARIES),' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>