Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/mp3splt/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 28 Jul 2007 12:27:12 -0000 1.19 +++ Makefile 1 Feb 2008 05:46:32 -0000 @@ -7,7 +7,7 @@ PORTNAME= mp3splt PORTVERSION= 2.1c -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,9 +16,18 @@ MAINTAINER= uspoerlein@gmail.com COMMENT= Utility to split mp3 and ogg files (via CUE sheets) -LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ - vorbis.4:${PORTSDIR}/audio/libvorbis \ +OPTIONS= VORBIS "Ogg Vorbis support" On + +.include + +LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad + +.if !defined(WITHOUT_VORBIS) +LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \ ogg.5:${PORTSDIR}/audio/libogg +.else +CONFIGURE_ARGS+=--disable-ogg +.endif GNU_CONFIGURE= yes CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ @@ -31,4 +40,4 @@ MAN1= mp3splt.1 PLIST_FILES= bin/mp3splt bin/oggsplt -.include +.include