From bacon@smithers.neuro.mcw.edu  Fri Mar 31 16:58:54 2006
Return-Path: <bacon@smithers.neuro.mcw.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8515E16A422
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Mar 2006 16:58:54 +0000 (UTC)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 32BCD43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Mar 2006 16:58:54 +0000 (GMT)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1])
	by smithers.neuro.mcw.edu (8.13.3/8.13.3) with ESMTP id k2VGwrCM028113
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Mar 2006 10:58:53 -0600 (CST)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: (from bacon@localhost)
	by smithers.neuro.mcw.edu (8.13.3/8.13.3/Submit) id k2VGwrb3028112;
	Fri, 31 Mar 2006 10:58:53 -0600 (CST)
	(envelope-from bacon)
Message-Id: <200603311658.k2VGwrb3028112@smithers.neuro.mcw.edu>
Date: Fri, 31 Mar 2006 10:58:53 -0600 (CST)
From: Jason Bacon <bacon@smithers.neuro.mcw.edu>
Reply-To: Jason Bacon <bacon@smithers.neuro.mcw.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: audio/praat
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         95157
>Category:       ports
>Synopsis:       New port: audio/praat
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 31 17:00:27 GMT 2006
>Closed-Date:    Mon Apr 03 02:42:09 GMT 2006
>Last-Modified:  Mon Apr 03 02:42:09 GMT 2006
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005 bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone i386

>Description:
	New port: audio/praat, Doing phonetics by computer.
>How-To-Repeat:
>Fix:

# 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/praat
#	audio/praat/files
#	audio/praat/files/pkg-message.in
#	audio/praat/Makefile
#	audio/praat/distinfo
#	audio/praat/pkg-descr
#
echo c - audio/praat
mkdir -p audio/praat > /dev/null 2>&1
echo c - audio/praat/files
mkdir -p audio/praat/files > /dev/null 2>&1
echo x - audio/praat/files/pkg-message.in
sed 's/^X//' >audio/praat/files/pkg-message.in << 'END-of-audio/praat/files/pkg-message.in'
X=============================================================================
XPraat users will need %%PREFIX%%/bin in their PATH.
X
XFor questions or comments regarding this port, please contact the
Xport maintainer: bacon@smithers.neuro.mcw.edu
X
XFor Praat usage, please visit the Praat WEB site at
X
Xhttp://www.fon.hum.uva.nl/praat/
X=============================================================================
END-of-audio/praat/files/pkg-message.in
echo x - audio/praat/Makefile
sed 's/^X//' >audio/praat/Makefile << 'END-of-audio/praat/Makefile'
X############################################################################
X# New ports collection Makefile for:   praat
X# Date created:        21-Feb-2006
X# Whom:                jbacon
X#
X# $FreeBSD$
X#
X
X############################################################################
X
XPORTNAME=	praat
XPORTVERSION=	4.4.10
XCATEGORIES=	audio science
XMASTER_SITES=	http://www.fon.hum.uva.nl/praat/ \
X		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/Praat/4410/
XDISTFILES=	praat4410_sources.tar.gz makefile.defs.freebsd.dynamic
XEXTRACT_ONLY=	praat4410_sources.tar.gz
X
XMAINTAINER=	bacon@smithers.neuro.mcw.edu
XCOMMENT=	Phonetics by Computer
X
XWRKSRC=		${WRKDIR}/sources_4410
X
XSUB_FILES=	pkg-message
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
XMAKEFILE=	makefile
X
XPLIST_FILES=	bin/praat
X
Xpre-build:
X	${REINPLACE_CMD} -e 's|linux|FreeBSD|g' \
X		${WRKSRC}/*/*.c ${WRKSRC}/*/*.h \
X		${WRKSRC}/makefiles/makefile.defs.freebsd*
X	${CP} ${DISTDIR}/makefile.defs.freebsd.dynamic \
X		${WRKSRC}/makefile.defs
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/praat ${PREFIX}/bin
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-audio/praat/Makefile
echo x - audio/praat/distinfo
sed 's/^X//' >audio/praat/distinfo << 'END-of-audio/praat/distinfo'
XMD5 (praat4410_sources.tar.gz) = 4ce2ff7ef39f20630ce399b8ea68f57f
XSHA256 (praat4410_sources.tar.gz) = 2e1e0108d0a575c22a546cedc211128ddc38e8d50bcbce6710140c3f8da66790
XSIZE (praat4410_sources.tar.gz) = 2442588
XMD5 (makefile.defs.freebsd.dynamic) = a33bc26322a673367e44cc88aef605de
XSHA256 (makefile.defs.freebsd.dynamic) = 8cdfb1c3d732ab8f09a2b20b7f63ee842da2abd306e6f7a8e77f39612aea9b0d
XSIZE (makefile.defs.freebsd.dynamic) = 332
END-of-audio/praat/distinfo
echo x - audio/praat/pkg-descr
sed 's/^X//' >audio/praat/pkg-descr << 'END-of-audio/praat/pkg-descr'
XPraat: doing phonetics by computer.
END-of-audio/praat/pkg-descr
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Mon Apr 3 01:37:33 UTC 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95157 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Mon Apr 3 02:36:26 UTC 2006 
State-Changed-Why:  
Committed with modifications, thanks! 

Notes (see the FreeBSD Porter's Handbook for details): 
- X and Motif dependencies were missing 
- the -trigraphs option was needed 
- an optimization flag (-O) was used 
- ${CFLAGS} and ${X11BASE} were ignored 
- the pkg-message was useless and has been removed (URL moved to pkg-descr) 

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