# Created by: Sean Bruno # $FreeBSD: head/audio/idjc/Makefile 412344 2016-04-01 13:29:15Z mat $ PORTNAME= idjc PORTVERSION= 0.8.15 CATEGORIES= audio python MASTER_SITES= SF/idjc/idjc/0.8 MAINTAINER= sbruno@FreeBSD.org COMMENT= Shoutcast/Icecast DJ Console LICENSE= LGPL20 LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libjack.so:audio/jack \ libtwolame.so:audio/twolame \ libspeex.so:audio/speex \ libsndfile.so:audio/libsndfile \ libmpg123.so:audio/mpg123 \ libFLAC.so:audio/flac \ libmp3lame.so:audio/lame \ libvorbis.so:audio/libvorbis \ libshout-idjc.so:audio/shout-idjc RUN_DEPENDS= oggenc:audio/vorbis-tools \ ${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen \ ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus OPTIONS_SUB= YES OPTIONS_DEFINE= DOCS NLS OPTIONS_DEFAULT= DOCS NLS USES= compiler:nestedfct desktop-file-utils gettext gmake \ libtool pathfix pkgconfig python:2.7 LDFLAGS+= -L${LOCALBASE}/lib NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes USE_PYTHON= pythonprefix USE_GNOME= glib20 pygtk2 BROKEN_powerpc64= Does not build PLIST_SUB+= PORTVERSION="${PORTVERSION}" DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} pre-install: ${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \ ${WRKSRC}/python/format.py ${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ ${WRKSRC}/idjc .include