From neuhauser@chello.cz  Sun May 23 16:50:56 2004
Return-Path: <neuhauser@chello.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 024AA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 May 2004 16:50:56 -0700 (PDT)
Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34])
	by mx1.FreeBSD.org (Postfix) with SMTP id BD08D43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 May 2004 16:50:52 -0700 (PDT)
	(envelope-from neuhauser@chello.cz)
Received: (qmail 65982 invoked by uid 0); 23 May 2004 23:50:22 -0000
Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16)
  by smtp.dkm.cz with SMTP; 23 May 2004 23:50:22 -0000
Received: by isis.wad.cz (Postfix, from userid 1001)
	id 0398D2FDA01; Mon, 24 May 2004 01:50:21 +0200 (CEST)
Message-Id: <20040523235021.0398D2FDA01@isis.wad.cz>
Date: Mon, 24 May 2004 01:50:21 +0200 (CEST)
From: Roman Neuhauser <neuhauser@chello.cz>
Reply-To: Roman Neuhauser <neuhauser@chello.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] audio/rawrec: pin subdirs to sites by grouping
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         67105
>Category:       ports
>Synopsis:       [PATCH] audio/rawrec: pin subdirs to sites by grouping
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 17:00:24 PDT 2004
>Closed-Date:    Mon May 24 14:01:41 PDT 2004
>Last-Modified:  Mon May 24 14:01:41 PDT 2004
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #3: Sun Mar 7 02:11:16 CET 2004 root@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386


	
>Description:
reduce time and traffic by coupling:
* apps/sound/recorders with MASTER_SITE_SUNSITE
* rawrec with MASTER_SITE_SOURCEFORGE

I couldn't get it to work without adding explicit DISTFILES, do let me
know if you come up with something that does away without it. I thought
:DEFAULT in MASTER_SITES might help, but no joy...

>How-To-Repeat:
	
>Fix:

	

--- audio::rawrec.MASTER_SITE_SUBDIR.patch begins here ---
Index: audio/rawrec/Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/rawrec/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- audio/rawrec/Makefile	4 Feb 2004 05:18:37 -0000	1.11
+++ audio/rawrec/Makefile	23 May 2004 23:42:08 -0000
@@ -10,10 +10,11 @@
 PORTVERSION=	0.9.98
 PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_SUNSITE} \
-		${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	apps/sound/recorders \
-		${PORTNAME}
+MASTER_SITES=	${MASTER_SITE_SUNSITE:S/$/:sun/} \
+		${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
+MASTER_SITE_SUBDIR=	apps/sound/recorders/:sun \
+		${PORTNAME}/:sf
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:sun,sf
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A utility to record and playback raw audio data
--- audio::rawrec.MASTER_SITE_SUBDIR.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon May 24 14:01:34 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67105 
>Unformatted:
