diff options
author | mm <mm@FreeBSD.org> | 2009-01-05 21:58:02 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2009-01-05 21:58:02 +0800 |
commit | 4516fea4ce2ee0b4617d5b929bbbab2938e25a66 (patch) | |
tree | 10ed16a9439b51c069509d143ffde3fd8f145911 /audio | |
parent | ecdf5ed2b6bd7b6a5a5a57ec19fc856a02452682 (diff) | |
download | freebsd-ports-gnome-4516fea4ce2ee0b4617d5b929bbbab2938e25a66.tar.gz freebsd-ports-gnome-4516fea4ce2ee0b4617d5b929bbbab2938e25a66.tar.zst freebsd-ports-gnome-4516fea4ce2ee0b4617d5b929bbbab2938e25a66.zip |
- switch to USE_TCL infrastructure
- add support for tcl85
- bump PORTREVISION
PR: ports/130182
Submitted by: mm
Approved by: Simon Olofsson <simon@olofsson.de> (maintainer)
Diffstat (limited to 'audio')
-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 |