From cjk32@cam.ac.uk  Mon Jul  5 14:12:54 2010
Return-Path: <cjk32@cam.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4C2AC106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jul 2010 14:12:54 +0000 (UTC)
	(envelope-from cjk32@cam.ac.uk)
Received: from chacal.cjkey.org.uk (chacal.cjkey.org.uk [88.97.163.217])
	by mx1.freebsd.org (Postfix) with ESMTP id BE8D58FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jul 2010 14:12:53 +0000 (UTC)
Received: from chacal.wzl33 (localhost [127.0.0.1])
	by chacal.cjkey.org.uk (8.14.3/8.14.3) with ESMTP id o65ECpgS074959
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Jul 2010 15:12:51 +0100 (BST)
	(envelope-from chris@chacal.wzl33)
Received: (from chris@localhost)
	by chacal.wzl33 (8.14.3/8.14.3/Submit) id o65ECpFw074958;
	Mon, 5 Jul 2010 15:12:51 +0100 (BST)
	(envelope-from chris)
Message-Id: <201007051412.o65ECpFw074958@chacal.wzl33>
Date: Mon, 5 Jul 2010 15:12:51 +0100 (BST)
From: Christopher Key <cjk32@cam.ac.uk>
Reply-To: Christopher Key <cjk32@cam.ac.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: audio/linux-Nero-AAC-Codec
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         148379
>Category:       ports
>Synopsis:       New port: audio/linux-Nero-AAC-Codec
>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:   Mon Jul 05 14:20:01 UTC 2010
>Closed-Date:    Tue Jul 06 20:15:19 UTC 2010
>Last-Modified:  Tue Jul 06 20:15:19 UTC 2010
>Originator:     Christopher Key
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD chacal.wzl33 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Sat Jun 19 15:45:05 BST 2010 root@chacal.wzl33:/usr/obj/usr/src/sys/CHACAL amd64


	
>Description:
	Nero AAC Codec comprises a well regarded AAC encoder, along with a decoder and tagging utility.  Linux and Windows binaries are provided freely 
for non-commerical or evaluation purposes.  This port provides a convenient wrapper for installing the linux dependecies, and installing the binaries and 
documentation to standard locations.

The download page on the Nero site[1] required the user to accept a licence agreement before downloading the file.  Does this mean that NOFETCHFILES should
be set in the Makefile?

[1] http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php

	
>How-To-Repeat:
	
>Fix:

	

--- linux-Nero-AAC-Codec.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	audio/linux-Nero-AAC-Codec
#	audio/linux-Nero-AAC-Codec/Makefile
#	audio/linux-Nero-AAC-Codec/distinfo
#	audio/linux-Nero-AAC-Codec/pkg-descr
#
echo c - audio/linux-Nero-AAC-Codec
mkdir -p audio/linux-Nero-AAC-Codec > /dev/null 2>&1
echo x - audio/linux-Nero-AAC-Codec/Makefile
sed 's/^X//' >audio/linux-Nero-AAC-Codec/Makefile << 'f5d4dc063059a6afd899c3d591223593'
X# New ports collection makefile for:	audio/linux-Nero-AAC-Codec
X# Date created:		2010-07-05
X# Whom:			Christopher Key <cjk32@cam.ac.uk>
X#
X# $FreeBSD: ports/audio/linux-genpuid/Makefile,v 1.1 2009/07/26 12:49:54 bsam Exp $
X#
X
XPORTNAME=	Nero-AAC-Codec
XPORTVERSION=	1.5.1
XCATEGORIES=	audio linux
XMASTER_SITES=	http://ftp6.nero.com/tools/
XPKGNAMEPREFIX=	linux-
XDISTNAME=	${PORTNAME:S/-//g}-${PORTVERSION}
XEXTRACT_SUFX=	.zip
X
XMAINTAINER=	cjk32@cam.ac.uk
XCOMMENT=	Nero AAC encoder and decoder
X
XRESTRICTED=	Solely for personal non-commercial and/or technology-evaluation purposes. No reproduction and/or distribution permitted.
X
XUSE_LINUX=		yes
XNO_BUILD=		yes
XIA32_BINARY_PORT=	yes
X
XPLIST_FILES=	bin/neroAacDec \
X		bin/neroAacEnc \
X		bin/neroAacTag
X
XPORTDOCS= 	NeroAAC_tut.pdf \
X		changelog.txt \
X		license.txt \
X		readme.txt
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKDIR}/linux/neroAacDec ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKDIR}/linux/neroAacEnc ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKDIR}/linux/neroAacTag ${PREFIX}/bin
X	echo ${DOCSDIR}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for DOC in ${PORTDOCS}
X	${INSTALL_MAN} ${WRKDIR}/${DOC} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
f5d4dc063059a6afd899c3d591223593
echo x - audio/linux-Nero-AAC-Codec/distinfo
sed 's/^X//' >audio/linux-Nero-AAC-Codec/distinfo << 'da888cb94607ae17eca320947dbf0251'
XMD5 (NeroAACCodec-1.5.1.zip) = 150ead71fb7838c52a31098c85b91211
XSHA256 (NeroAACCodec-1.5.1.zip) = e0496ad856e2803001a59985368d21b22f4fbdd55589c7f313d6040cefff648b
XSIZE (NeroAACCodec-1.5.1.zip) = 2050564
da888cb94607ae17eca320947dbf0251
echo x - audio/linux-Nero-AAC-Codec/pkg-descr
sed 's/^X//' >audio/linux-Nero-AAC-Codec/pkg-descr << '806bd54f479f84b2f5b263304b6cd6e0'
XNero AAC encoder and decoder.
X
XWWW:	http://www.nero.com/eng/technologies-aac-codec.html
806bd54f479f84b2f5b263304b6cd6e0
exit
--- linux-Nero-AAC-Codec.sh ends here ---


>Release-Note:
>Audit-Trail:

From: Anonymous <swell.k@gmail.com>
To: Christopher Key <cjk32@cam.ac.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/148379: New port: audio/linux-Nero-AAC-Codec
Date: Tue, 06 Jul 2010 11:07:36 +0400

 There is ports/145094 that tries to preserve CVS history of
 audio/linux-nerodigitalaudio through a repocopy.
 
 Besides, I think you should USE_ZIP rather than relying on bsdtar(1)
 ability to read zip archives and IA32_BINARY_PORT is not meant for
 USE_LINUX 32bit binaries.
 
 BTW, thanks for idea about PORTDOCS and more descriptive RESTRICTED.
 I've updated my diff in that PR.

From: Christopher Key <cjk32@cam.ac.uk>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/148379: New port: audio/linux-Nero-AAC-Codec
Date: Tue, 06 Jul 2010 18:47:12 +0100

   Duplicate of ports/145094, please close.  Apologies for the incorrect 
 priority.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 6 20:14:56 UTC 2010 
State-Changed-Why:  
Duplicate of ports/145094. 

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