Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 02:56:52 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161623: Update port: audio/timemachine
Message-ID:  <20111015025652.69e779e0.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIoKIm051656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161623
>Category:       ports
>Synopsis:       Update port: audio/timemachine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support OPTIONS
- Add LICENSE
- Support CFLAGS propely
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/timemachine/Makefile audio/timemachine/Makefile
--- /usr/ports/audio/timemachine/Makefile	2011-02-23 13:54:23.000000000 +0900
+++ audio/timemachine/Makefile	2011-09-29 05:14:57.000000000 +0900
@@ -7,23 +7,38 @@
 
 PORTNAME=	timemachine
 PORTVERSION=	0.3.3
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://plugin.org.uk/timemachine/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	JACK audio capture tool
 
+LICENSE=	GPLv2 # (or later)
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack \
+		lo.7:${PORTSDIR}/audio/liblo \
 		sndfile.1:${PORTSDIR}/audio/libsndfile
 
-GNU_CONFIGURE=	yes
+OPTIONS=	LASH "Enable LASH support" off
+
+USE_GNOME=	gnomehack gtk20
 USE_GMAKE=	yes
-USE_GNOME=	gtk20
+GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if exists(${LOCALBASE}/lib/liblash.so.2)
+.if defined(WITH_LASH)
 LIB_DEPENDS+=	lash.2:${PORTSDIR}/audio/lash
+.else
+CONFIGURE_ARGS+=--disable-lash
 .endif
 
-.include <bsd.port.post.mk>
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/^PACKAGE_CFLAGS=/s|-g||; \
+		 /^PACKAGE_LIBS=/s|-g||' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111015025652.69e779e0.tkato432>