svn commit: r324769 - head/misc/libsupertone
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Aug 15 12:24:10 UTC 2013
Author: danfe
Date: Thu Aug 15 12:24:09 2013
New Revision: 324769
URL: http://svnweb.freebsd.org/changeset/ports/324769
Log:
- 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)
Modified:
head/misc/libsupertone/Makefile
head/misc/libsupertone/pkg-descr
Modified: head/misc/libsupertone/Makefile
==============================================================================
--- head/misc/libsupertone/Makefile Thu Aug 15 12:03:21 2013 (r324768)
+++ head/misc/libsupertone/Makefile Thu Aug 15 12:24:09 2013 (r324769)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libsupertone
-# Date created: 26 Jun 2012
-# Whom: Max Khon <fjoe at FreeBSD.org>
-#
+# Created by: Max Khon <fjoe at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= libsupertone
PORTVERSION= 0.0.2
@@ -12,17 +8,24 @@ MASTER_SITES= http://www.soft-switch.org
EXTRACT_SUFX= .tgz
MAINTAINER= fjoe at 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>
Modified: head/misc/libsupertone/pkg-descr
==============================================================================
--- head/misc/libsupertone/pkg-descr Thu Aug 15 12:03:21 2013 (r324768)
+++ head/misc/libsupertone/pkg-descr Thu Aug 15 12:24:09 2013 (r324769)
@@ -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/
More information about the svn-ports-all
mailing list