Index: ezstream/Makefile =================================================================== --- ezstream/Makefile (revision 305743) +++ ezstream/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: ezstream -# Date created: 27 Nov 2004 -# Whom: Frank Laszlo -# +# Created by: Frank Laszlo # $FreeBSD$ -# PORTNAME= ezstream PORTVERSION= 0.5.6 @@ -15,11 +11,14 @@ MAINTAINER= ayu@commun.jp COMMENT= A command line utility for streaming to icecast servers -LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2 \ - vorbis.4:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS= shout:${PORTSDIR}/audio/libshout2 \ + vorbis:${PORTSDIR}/audio/libvorbis -OPTIONS= TAGLIB "TagLib support" on +OPTIONS_DEFINE= TAGLIB +OPTIONS_DEFAULT= TAGLIB +TAGLIB_DESC= TagLib support + USE_GNOME= libxml2 USE_ICONV= yes USE_RC_SUBR= ${PORTNAME} @@ -36,12 +35,12 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include +.include -.if defined(WITHOUT_TAGLIB) +.if ${PORT_OPTIONS:MTAGLIB} CONFIGURE_ARGS+= --without-taglib .else -LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib +LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib CONFIGURE_ARGS+= --with-taglib=${LOCALBASE} .endif @@ -65,4 +64,4 @@ @${MKDIR} ${ETCDIR}/ @${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${ETCDIR}/ezstream.xml -.include +.include