From owner-freebsd-ports Fri Aug 24 9:30:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B5C0A37B40C for ; Fri, 24 Aug 2001 09:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7OGU0873560; Fri, 24 Aug 2001 09:30:00 -0700 (PDT) (envelope-from gnats) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by hub.freebsd.org (Postfix) with ESMTP id DA5F037B401 for ; Fri, 24 Aug 2001 09:25:53 -0700 (PDT) (envelope-from anarcat@anarcat.dyndns.org) Received: from khan.anarcat.dyndns.org ([65.92.160.216]) by tomts5-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010824162552.YHIY10424.tomts5-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Fri, 24 Aug 2001 12:25:52 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 4E3F718C0 for ; Fri, 24 Aug 2001 12:25:47 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 6E9B820B40; Fri, 24 Aug 2001 12:25:45 -0400 (EDT) Message-Id: <20010824162545.6E9B820B40@shall.anarcat.dyndns.org> Date: Fri, 24 Aug 2001 12:25:45 -0400 (EDT) From: The Anarcat Reply-To: The Anarcat To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30033: [Patch] maintainer update of port audio/ecasound Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30033 >Category: ports >Synopsis: [Patch] maintainer update of port audio/ecasound >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 09:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.4-RC i386 >Organization: Nada, Inc >Environment: System: FreeBSD shall.anarcat.dyndns.org 4.4-RC FreeBSD 4.4-RC #4: Wed Aug 22 12:21:57 EDT 2001 anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/SHALL i386 >Description: Update of the ecasound port. Now at version 2.0.2. The port seems to be a bit nicer and cleaner now. Still compiles cleanly out of the box (eg no patches necessary). A new port (ecawave) should logically follow shortly. I had problems figuring out the python dependencies and pkg-plist hacking, so I simply disabled python support for now. If someone could give me a hand here, I just need to understand how to put "conditional" lines in pkg-plist. >How-To-Repeat: N/A. >Fix: First, makefile. I changed my email in there and I disabled python supoprt. I also made a post-install target to install some html doc in there. Oh, and the master_site_subdir was ridiculously wrong here. :) --- Makefile.old Thu Aug 23 19:03:52 2001 +++ Makefile Fri Aug 24 11:55:06 2001 @@ -1,18 +1,18 @@ # New ports collection makefile for: ecasound # Date created: 22 dec 2000 -# Whom: The Anarcat +# Whom: The Anarcat # # $FreeBSD: ports/audio/ecasound/Makefile,v 1.3 2001/04/24 22:22:40 # olgeni Exp $ # PORTNAME= ecasound -PORTVERSION= 1.9dev5 +PORTVERSION= 2.0.2 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ \ ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ecawave +MASTER_SITE_SUBDIR= ecasound -MAINTAINER= anarcat@tao.ca +MAINTAINER= anarcat@anarcat.dyndns.org USE_GMAKE= yes USE_AUTOMAKE= yes @@ -39,18 +39,30 @@ CONFIGURE_ARGS+= --disable-audiofile .endif -.if defined(WITH_PYECASOUND) -USE_PYTHON= yes -PLIST_SUB+= WITH_PYECASOUND="" -.else -CONFIGURE_ARGS+= --disable-pyecasound -PLIST_SUB+= WITH_PYECASOUND="@comment " -.endif +#.if defined(WITH_PYECASOUND) +#USE_PYTHON= yes +#PLIST_SUB+= WITH_PYECASOUND="" +#.else +#CONFIGURE_ARGS+= --disable-pyecasound +#PLIST_SUB+= WITH_PYECASOUND="@comment " +#.endif MAN1= ecasound-iam.1 ecasound.1 ecatools.1 MAN5= ecasoundrc.5 -#post-install: +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ecasound + ${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide + ${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide + ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${WRKSRC}/Documentation/*.txt \ + ${PREFIX}/share/doc/ecasound + ${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \ + ${PREFIX}/share/doc/ecasound/programmers_guide + ${INSTALL_MAN} ${WRKSRC}/Documentation/users_guide/*.html \ + ${PREFIX}/share/doc/ecasound/users_guide +.endif + # strip ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \ #${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay ${PREFIX}/bin/ecasignalview \ #${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasoundc-config Second, pkg-plist. I sorted the plist so there are a few "false positives" in there. Also note that this will croak under make package NOPORTDOCS=yes. --- pkg-plist.orig Thu Aug 23 19:03:11 2001 +++ pkg-plist.sort Fri Aug 24 12:16:14 2001 @@ -79,8 +79,8 @@ include/ecasound/file-preset.h include/ecasound/finite-envelope.h include/ecasound/generic-controller.h +include/ecasound/generic-linear-envelope.h include/ecasound/global-preset.h -include/ecasound/ladspa.h include/ecasound/layer.h include/ecasound/linear-envelope.h include/ecasound/midi-cc.h @@ -126,15 +126,27 @@ lib/libecasound.so.7 lib/libecasoundc.a lib/libecasoundc.so -lib/libecasoundc.so.0 +lib/libecasoundc.so.1 lib/libkvutils.a lib/libkvutils.so lib/libkvutils.so.2 +share/doc/ecasound/ecasound-iam_manpage.html +share/doc/ecasound/ecasound_faq.html +share/doc/ecasound/ecasound_faq.txt +share/doc/ecasound/ecasound_manpage.html +share/doc/ecasound/ecasoundrc_manpage.html +share/doc/ecasound/ecatools_manpage.html +share/doc/ecasound/examples.html +share/doc/ecasound/index.html +share/doc/ecasound/programmers_guide/eci_doc.html +share/doc/ecasound/programmers_guide/programmers_guide.html +share/doc/ecasound/users_guide/users_guide.html share/ecasound/effect_presets share/ecasound/generic_oscillators -%%WITH_PYECASOUND%%lib/%%PYTHON_VERSION%%/site-packages/libpyecasound.so -%%WITH_PYECASOUND%%lib/%%PYTHON_VERSION%%/site-packages/pyeca.py -@dirrm share/ecasound -@dirrm lib/ecasound-plugins @dirrm include/ecasound @dirrm include/kvutils +@dirrm lib/ecasound-plugins +@dirrm share/doc/ecasound/ +@dirrm share/doc/ecasound/programmers_guide +@dirrm share/doc/ecasound/users_guide +@dirrm share/ecasound Then, last but not least, distinfo: --- distinfo.old Thu Aug 23 19:03:11 2001 +++ distinfo Thu Aug 23 19:06:29 2001 @@ -1 +1 @@ -MD5 (ecasound-1.9dev5.tar.gz) = 2bfe0c4bf28a036c56333da28c5b8c20 +MD5 (ecasound-2.0.2.tar.gz) = 33e42f52792bfebfe44b06879493631f >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message