ports/58955: [non-maintainer] convert audio/audacity to wxgtk2

Pav Lucistnik pav at oook.cz
Wed Nov 5 11:00:29 UTC 2003


>Number:         58955
>Category:       ports
>Synopsis:       [non-maintainer] convert audio/audacity to wxgtk2
>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:   Wed Nov 05 03:00:26 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pav Lucistnik
>Release:        FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD pav.hide.vol.cz 4.9-RC FreeBSD 4.9-RC #0: Mon Oct 6 20:09:54 CEST 2003 root at pav.hide.vol.cz:/usr/obj/usr/src/sys/PAV i386


	
>Description:
Improve audio/audacity port to
- use wxWindows with gtk2 [1]
- remove " in COMMENT
- fix typo in pre-everything message

Suggested by: fjoe [1]

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/audio/audacity/Makefile audacity/Makefile
--- /usr/ports/audio/audacity/Makefile	Wed Nov  5 10:43:36 2003
+++ audacity/Makefile	Wed Nov  5 11:48:52 2003
@@ -14,10 +14,10 @@
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	arved at FreeBSD.org
-COMMENT=	"Audacity is a GUI editor for digital audio waveforms"
+COMMENT=	Audacity is a GUI editor for digital audio waveforms
 
 BUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk-devel \
+LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 \
 		mad.1:${PORTSDIR}/audio/mad
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
@@ -27,7 +27,8 @@
 AUDACITY_HELP_DIR=	${PREFIX}/share/doc/audacity
 CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 		CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
-		CFLAGS="-DAUDACITY_HELP_DIR=${AUDACITY_HELP_DIR} ${PTHREAD_CFLAGS}"
+		CFLAGS="-DAUDACITY_HELP_DIR=${AUDACITY_HELP_DIR} ${PTHREAD_CFLAGS}" \
+		WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
 CONFIGURE_ARGS+=	--with-id3=no --with-libmad=yes
 
 .include <bsd.port.pre.mk>
@@ -44,7 +45,7 @@
 
 pre-everything::
 .if !defined(WITHOUT_VORBIS)
-	@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS.MSG."
+	@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
 .endif
 .if !defined(WITH_ARTS)
 	@${ECHO_MSG} "You can use artsd instead of OSS for output by defining WITH_ARTS."
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list