ports/130182: [PATCH] audio/snack switch to USE_TCL
Martin Matuska
mm at FreeBSD.org
Mon Jan 5 11:50:02 UTC 2009
>Number: 130182
>Category: ports
>Synopsis: [PATCH] audio/snack switch to USE_TCL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 05 11:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: RebuM
>Release: FreeBSD 7.1-RELEASE i386/amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE i386/amd64
>Description:
- switch to USE_TCL infrastructure
- add support for tcl85
>How-To-Repeat:
>Fix:
Index: ports/audio/snack/Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/snack/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- ports/audio/snack/Makefile 21 Aug 2008 06:16:19 -0000 1.31
+++ ports/audio/snack/Makefile 5 Jan 2009 11:39:02 -0000
@@ -8,7 +8,7 @@
PORTNAME= snack
PORTVERSION= 2.2.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio tcl tk
MASTER_SITES= http://www.speech.kth.se/snack/dist/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -16,19 +16,13 @@
MAINTAINER= simon at olofsson.de
COMMENT= A sound toolkit for scripting languages
-LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
-
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+USE_TK= 84+
+
OPTIONS= VORBIS "Support for OGG/Vorbis Audio" off
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
- --with-tk=${LOCALBASE}/lib/tk8.4
-MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
-
-CFLAGS+= -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 \
- -I${LOCALBASE}/include
.if !defined(NOPORTDOCS)
PORTDOCS= *
@@ -37,6 +31,12 @@
PLIST_SUB= SNACK_VER=${PORTVERSION:R}
.include <bsd.port.pre.mk>
+CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
+ --with-tk=${TK_LIBDIR}
+MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
+
+CFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
+ -I${LOCALBASE}/include
.if defined(WITH_VORBIS)
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list