diff options
author | Martin Matuska <mm@FreeBSD.org> | 2009-01-05 13:58:02 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2009-01-05 13:58:02 +0000 |
commit | 448bcb13e1558807aa6a70a5519fd442f49c1171 (patch) | |
tree | a1a9b95664354ee70f2435980a9d5848f00596af /audio/snack | |
parent | 94ded2005c37b1362b886ebd17861d872b7dc46b (diff) | |
download | ports-448bcb13e1558807aa6a70a5519fd442f49c1171.tar.gz ports-448bcb13e1558807aa6a70a5519fd442f49c1171.zip |
Notes
Diffstat (limited to 'audio/snack')
-rw-r--r-- | audio/snack/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/audio/snack/Makefile b/audio/snack/Makefile index a5047e265639..3660b18be484 100644 --- a/audio/snack/Makefile +++ b/audio/snack/Makefile @@ -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 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= simon@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 @@ PORTDOCS= * 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 |