Date: Wed, 24 Aug 2005 21:28:03 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Cc: trevor@FreeBSD.org Subject: ports/85275: Update port: audio/snd fix install on 6.0 and others Message-ID: <200508250028.j7P0S3PL035501@marcus.grupos.com.br> Resent-Message-ID: <200508250030.j7P0UEjq096804@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85275 >Category: ports >Synopsis: Update port: audio/snd fix install on 6.0 and others >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 25 00:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 6.0-BETA3 i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD marcus.grupos.com.br 6.0-BETA3 FreeBSD 6.0-BETA3 #19: Wed Aug 24 18:30:17 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386 >Description: - Fix install on 6.0 and others. Forget to create share/snd >How-To-Repeat: >Fix: --- snd.patch begins here --- diff -ruN snd.orig/Makefile snd/Makefile --- snd.orig/Makefile Mon May 2 17:46:10 2005 +++ snd/Makefile Wed Aug 24 21:22:44 2005 @@ -7,7 +7,7 @@ PORTNAME= snd PORTVERSION= 7.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -45,7 +45,7 @@ .if defined(WITH_ESD) CONFIGURE_ARGS+= --with-esd -RUN_DEPENDS= esd:${PORTSDIR}/audio/esound +RUN_DEPENDS+= esd:${PORTSDIR}/audio/esound .endif .if defined(WITH_RUBY) @@ -80,16 +80,11 @@ USE_XLIB= yes .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 503000 -BROKEN= "Does not install on FreeBSD >= 5.x" -.endif - post-build: ${MV} ${WRKSRC}/sndinfo ${WRKSRC}/snd-info pre-install: + @${ECHO_CMD} "" > ${PLIST} .if !defined(WITHOUT_X11) ${ECHO_CMD} lib/X11/app-defaults/Snd.ad >> ${PLIST} ${ECHO_CMD} share/examples/snd/Snd.gtkrc >> ${PLIST} @@ -118,9 +113,11 @@ .if defined(WITH_GUILE) ${FIND} ${WRKSRC} -name '*.scm' | \ ${SED} -e "s:^${WRKSRC}/:share/snd/:g" >> ${PLIST} - ${ECHO_CMD} "share/snd/contrib/dlp/README" >> ${PLIST} - ${ECHO_CMD} "@dirrm share/snd/contrib/dlp" >> ${PLIST} - ${ECHO_CMD} "@dirrm share/snd/contrib" >> ${PLIST} + ${ECHO_CMD} "share/snd/dlp/README" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/sndins/samples" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/sndins" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/tools" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/dlp" >> ${PLIST} ${ECHO_CMD} "@dirrm share/snd" >> ${PLIST} .endif @@ -154,7 +151,16 @@ cd ${WRKSRC} && ${PAX} -r -w tutorial ${DOCSDIR} .endif .if defined(WITH_GUILE) + @${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR}/dlp + @${MKDIR} ${DATADIR}/tools + @${MKDIR} ${DATADIR}/sndins + @${MKDIR} ${DATADIR}/sndins/samples ${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dlp/*.scm ${DATADIR}/dlp + ${INSTALL_DATA} ${WRKSRC}/dlp/README ${DATADIR}/dlp + ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${DATADIR}/tools + ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${DATADIR}/sndins/samples .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> --- snd.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508250028.j7P0S3PL035501>