aboutsummaryrefslogtreecommitdiff
path: root/misc/libsupertone
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-15 12:24:09 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-15 12:24:09 +0000
commita0b5e27b2588f6a4ed7043d91483f2c3837e64a2 (patch)
tree99729f13f4906abfc972e3a4e26212930e4d1b38 /misc/libsupertone
parentbe48cf4439e6a398c2e9b1b4279e57bd8c186bf4 (diff)
downloadports-a0b5e27b2588f6a4ed7043d91483f2c3837e64a2.tar.gz
ports-a0b5e27b2588f6a4ed7043d91483f2c3837e64a2.zip
- Fix targets' dependencies in an attempt to fix parallel (-jX) builds
- Tighten Makefile header and COMMENT line (trim the article) - Convert LIB_DEPENDS to the newish form (since r322328) - Fix couple of portlint(1) warnings while here (knobs order, WWW line in port description) Reported by: marino Approved by: miwi, bapt (portmgr, implicit)
Notes
Notes: svn path=/head/; revision=324769
Diffstat (limited to 'misc/libsupertone')
-rw-r--r--misc/libsupertone/Makefile29
-rw-r--r--misc/libsupertone/pkg-descr2
2 files changed, 17 insertions, 14 deletions
diff --git a/misc/libsupertone/Makefile b/misc/libsupertone/Makefile
index f6c677100d5a..e946842cd130 100644
--- a/misc/libsupertone/Makefile
+++ b/misc/libsupertone/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libsupertone
-# Date created: 26 Jun 2012
-# Whom: Max Khon <fjoe@FreeBSD.org>
-#
+# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= libsupertone
PORTVERSION= 0.0.2
@@ -12,17 +8,24 @@ MASTER_SITES= http://www.soft-switch.org/downloads/unicall/
EXTRACT_SUFX= .tgz
MAINTAINER= fjoe@FreeBSD.org
-COMMENT= A library for supervisory tone generation and detection
+COMMENT= Library for supervisory tone generation and detection
-LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile\
- spandsp.2:${PORTSDIR}/comms/spandsp-devel\
- tiff.4:${PORTSDIR}/graphics/tiff\
- xml2.5:${PORTSDIR}/textproc/libxml2
+LICENSE= LGPL21
+
+LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
+ libspandsp.so:${PORTSDIR}/comms/spandsp-devel \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libxml2.so:${PORTSDIR}/textproc/libxml2
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"\
- LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
-LICENSE= LGPL21
+
+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>
diff --git a/misc/libsupertone/pkg-descr b/misc/libsupertone/pkg-descr
index 1d546570f1f8..bc4c4c3b10f1 100644
--- a/misc/libsupertone/pkg-descr
+++ b/misc/libsupertone/pkg-descr
@@ -1,4 +1,4 @@
This library is designed to support supervisory tone generation and detection
for all parts of the world.
-WWW: http://www.soft-switch.org/
+WWW: http://www.soft-switch.org/