aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libsupertone
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-08-15 20:24:09 +0800
committerdanfe <danfe@FreeBSD.org>2013-08-15 20:24:09 +0800
commit57a13a17547f9f39b7e152cccc2ff4857f857c34 (patch)
tree99729f13f4906abfc972e3a4e26212930e4d1b38 /misc/libsupertone
parent9f61592e01a84efe455689afdf43e41a0c824ed8 (diff)
downloadfreebsd-ports-gnome-57a13a17547f9f39b7e152cccc2ff4857f857c34.tar.gz
freebsd-ports-gnome-57a13a17547f9f39b7e152cccc2ff4857f857c34.tar.zst
freebsd-ports-gnome-57a13a17547f9f39b7e152cccc2ff4857f857c34.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)
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/