a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
# Created by: Sean Bruno <sbruno@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= idjc
|
|
PORTVERSION= 0.8.17
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= SF/idjc
|
|
|
|
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 \
|
|
libsamplerate.so:audio/libsamplerate \
|
|
libshout-idjc.so:audio/shout-idjc \
|
|
libopus.so:audio/opus
|
|
|
|
RUN_DEPENDS= oggenc:audio/vorbis-tools \
|
|
${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus@${PY_FLAVOR}
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= YES
|
|
|
|
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}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's,PYTHON=python,PYTHON=${PYTHON_CMD},' ${WRKSRC}/py-compile
|
|
|
|
pre-install:
|
|
${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \
|
|
${WRKSRC}/python/format.py
|
|
${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${PYTHON_CMD}|' \
|
|
${WRKSRC}/idjc
|
|
|
|
.include <bsd.port.mk>
|