From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 22 16:40:27 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AA1416A4C7 for ; Wed, 22 Mar 2006 16:40:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C705D43D49 for ; Wed, 22 Mar 2006 16:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2MGeKE7013056 for ; Wed, 22 Mar 2006 16:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2MGeKpc013055; Wed, 22 Mar 2006 16:40:20 GMT (envelope-from gnats) Date: Wed, 22 Mar 2006 16:40:20 GMT Message-Id: <200603221640.k2MGeKpc013055@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jose Alonso Cardenas Marquez Cc: Subject: Re: ports/94115: [NEW PORT] audio/hawkvoice: Portable sound and speech compression library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jose Alonso Cardenas Marquez List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 16:40:27 -0000 The following reply was made to PR ports/94115; it has been noted by GNATS. From: Jose Alonso Cardenas Marquez To: Renato Botelho Cc: bug-followup@FreeBSD.org Subject: Re: ports/94115: [NEW PORT] audio/hawkvoice: Portable sound and speech compression library Date: Wed, 22 Mar 2006 11:31:31 -0500 On Wed, 22 Mar 2006 12:40:40 -0300 Renato Botelho wrote: > * You are removing a file on post-install: target, it's not a good > practice. What do you think about patch Makefile to doesn't install > this file instead remove it? Or, simply leave the file installed? > Any problem with the .a file? Done, the .a file has not problem, I had a tiny error > * pkg-descr has more than 80 columns Done, sorry I ignored it, I will have present in the future > Could you take a look at these points? > > Thanks for contributing See new PR: --- hawkvoice-0.91.shar 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: # # hawkvoice # hawkvoice/pkg-descr # hawkvoice/Makefile # hawkvoice/pkg-plist # hawkvoice/distinfo # hawkvoice/files # hawkvoice/files/patch-src_makefile.linux # echo c - hawkvoice mkdir -p hawkvoice > /dev/null 2>&1 echo x - hawkvoice/pkg-descr sed 's/^X//' >hawkvoice/pkg-descr << 'END-of-hawkvoice/pkg-descr' XHawkVoice is a game oriented, multiplayer voice over network API released under Xthe GNU Library General Public License (LGPL) , with support for Linux/UNIX Xsystems and Windows 9x/ME/NT/2000/XP/CE. X XIt is designed to be a portable, free, open source code alternative to the XMicrosoft DirectPlay Voice in DX8-9. It provides voice compression using several Xfree voice codecs. The very low bitrate (VLB) codecs, those less than 6 Kbps, Xare optimized for the compression of human speech. X XWWW: http://www.hawksoft.com/hawkvoice/ END-of-hawkvoice/pkg-descr echo x - hawkvoice/Makefile sed 's/^X//' >hawkvoice/Makefile << 'END-of-hawkvoice/Makefile' X# New ports collection makefile for: hawkvoice X# Date created: 2006-03-05 X# Whom: Jose Alonso Cardenas Marquez X# X# $FreeBSD$ X# X XPORTNAME= hawkvoice XPORTVERSION= 0.91 XCATEGORIES= audio devel XMASTER_SITES= http://www.hawksoft.com/download/files/ XDISTNAME= HawkVoiceDI091src X XMAINTAINER= acardenas@bsd.org.pe XCOMMENT= Portable sound and speech compression library X XUSE_ZIP= yes XUSE_DOS2UNIX= yes XUSE_GMAKE= yes XMAKEFILE= makefile.linux XINSTALLS_SHLIB= yes X XLDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} XCPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include XMAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS} ${OPTFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" XWRKSRC= ${WRKDIR}/HawkVoiceDI X XOPTIONS= OPTIMIZATION "Enable optimization" off X X.include X X.if defined(WITH_OPTIMIZATION) XCFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT X.endif X Xpost-patch: X @cd ${WRKSRC}/src && \ X ${FIND} * -type f -exec ${REINPLACE_CMD} -e 's|||g' "{}" \; X Xdo-build: X @cd ${WRKSRC}/src && \ X ${SETENV} ${MAKE_ENV} ${GMAKE} -f ${MAKEFILE} X Xdo-install: X @cd ${WRKSRC}/src && \ X ${GMAKE} -f ${MAKEFILE} install X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in api.txt HVDIchanges.txt readme.txt cryptapi.txt X @${INSTALL_DATA} ${WRKSRC}/src/${FILE} ${DOCSDIR} X.endfor X.endif X X.include END-of-hawkvoice/Makefile echo x - hawkvoice/pkg-plist sed 's/^X//' >hawkvoice/pkg-plist << 'END-of-hawkvoice/pkg-plist' Xinclude/hvdi.h Xlib/libHVDI.a Xlib/libHVDI.so Xlib/libHVDI.so.0 Xlib/libHVDI.so.0.9.1 X%%PORTDOCS%%%%DOCSDIR%%/api.txt X%%PORTDOCS%%%%DOCSDIR%%/HVDIchanges.txt X%%PORTDOCS%%%%DOCSDIR%%/readme.txt X%%PORTDOCS%%%%DOCSDIR%%/cryptapi.txt X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-hawkvoice/pkg-plist echo x - hawkvoice/distinfo sed 's/^X//' >hawkvoice/distinfo << 'END-of-hawkvoice/distinfo' XMD5 (HawkVoiceDI091src.zip) = 119fab09d2b2d674267a9d1bd377a135 XSHA256 (HawkVoiceDI091src.zip) = 10f624df7f86a54290f4b8dc825049aab83f02c4e36fa53b14c5327e352489ee XSIZE (HawkVoiceDI091src.zip) = 477680 END-of-hawkvoice/distinfo echo c - hawkvoice/files mkdir -p hawkvoice/files > /dev/null 2>&1 echo x - hawkvoice/files/patch-src_makefile.linux sed 's/^X//' >hawkvoice/files/patch-src_makefile.linux << 'END-of-hawkvoice/files/patch-src_makefile.linux' X--- src/makefile.linux Sun Mar 5 17:05:02 2006 X+++ src/makefile.linux Sun Mar 5 17:05:37 2006 X@@ -1,19 +1,18 @@ X-CC = gcc X+CC? = ${CC} X AR = ar cru X RANLIB = ranlib X MAJOR_VERSION = 0 X MINOR_VERSION = 9 X PATCH_LEVEL = 1 X VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL) X-LIBDIR = /usr/lib X-INCDIR = /usr/include X+LIBDIR = ${PREFIX}/lib X+INCDIR = ${PREFIX}/include X INCLUDE = -I../include X OUTPUT = libHVDI.so.$(VERSION) X LIBNAME = HVDI X STATIC = libHVDI.a X-OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE X-CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS) X-LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic X+CFLAGS? = ${CFLAGS} -Wall -fPIC $(INCLUDE) X+LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic ${LDFLAGS} X X HVDI_SOURCE = decpacket.c encpacket.c hvdi.c rate.c hcrypt.c X X@@ -55,25 +54,14 @@ X $(AR) $(STATIC) $(OBJECTS) X $(RANLIB) $(STATIC) X X-include depend X- X install: X cp $(OUTPUT) $(LIBDIR) X cp $(STATIC) $(LIBDIR) X chmod 755 $(LIBDIR)/$(OUTPUT) X- ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION) X- ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION) X- ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so X+ ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION) X+ ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so X cp hvdi.h $(INCDIR)/hvdi.h X chmod 644 $(INCDIR)/hvdi.h X- @echo "" X- @echo "*************************************************" X- @echo "* Installed HawkVoiceDI. *" X- @echo "* Remember to run /sbin/ldconfig before using *" X- @echo "* the library, you may also want to check that *" X- @echo "* $(LIBDIR) is included in /etc/ld.so.conf *" X- @echo "* You must be root to run ldconfig. *" X- @echo "*************************************************" X X uninstall: X rm -f $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION) END-of-hawkvoice/files/patch-src_makefile.linux exit --- hawkvoice-0.91.shar ends here --- Greetings ACM -- Grupo de Usuarios *BSD Peru - BSDPeru http://www.bsd.org.pe