mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
83 lines
2.3 KiB
Makefile
83 lines
2.3 KiB
Makefile
# Created by: Mark Foster <mark@foster.cc>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= firefly
|
|
PORTVERSION= 1696
|
|
PORTREVISION= 12
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/fireflyserver-server/Sources/mt-daapd/svn-${PORTVERSION}
|
|
DISTNAME= mt-daapd-svn-${PORTVERSION}
|
|
|
|
MAINTAINER= info@NetOcean.de
|
|
COMMENT= Open-source media server for the Roku SoundBridge and iTunes
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/vorbis/codec.h:${PORTSDIR}/audio/libvorbis \
|
|
${LOCALBASE}/include/FLAC/metadata.h:${PORTSDIR}/audio/flac
|
|
RUN_DEPENDS= oggdec:${PORTSDIR}/audio/vorbis-tools \
|
|
flac:${PORTSDIR}/audio/flac
|
|
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
|
|
libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-id3tag=${LOCALBASE} --enable-sqlite3 \
|
|
--enable-oggvorbis --enable-flac --localstatedir=/var
|
|
USES= libtool
|
|
INSTALL_TARGET= install-strip
|
|
|
|
DAAPD_USER?= daapd
|
|
DAAPD_GROUP?= daapd
|
|
DAAPD_DBDIR?= /var/db/${PORTNAME}
|
|
USE_RC_SUBR= mt-daapd
|
|
USERS= ${DAAPD_USER}
|
|
GROUPS= ${DAAPD_GROUP}
|
|
|
|
SUB_LIST+= DAAPD_USER=${DAAPD_USER} \
|
|
DAAPD_GROUP=${DAAPD_GROUP} \
|
|
DAAPD_DBDIR=${DAAPD_DBDIR}
|
|
SUB_FILES= pkg-message
|
|
PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} \
|
|
DAAPD_USER=${DAAPD_USER} \
|
|
DAAPD_GROUP=${DAAPD_GROUP}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GCC= any
|
|
|
|
OPTIONS_DEFINE= JAPANESE DOCS
|
|
JAPANESE_DESC= Japanese support in ID3 tags
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MJAPANESE}
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_scan-mp3.c
|
|
USES+= iconv
|
|
CONFIGURE_ARGS+= --enable-iconv
|
|
.endif
|
|
|
|
pre-everything::
|
|
@${ECHO_CMD} "Define vars below if you need:"
|
|
@${ECHO_CMD} "DAAPD_USER=${DAAPD_USER} (default: daapd)"
|
|
@${ECHO_CMD} "DAAPD_GROUP=${DAAPD_GROUP} (default: daapd)"
|
|
@${ECHO_CMD} "DAAPD_DBDIR=${DAAPD_DBDIR} (default: /var/db/${PORTNAME})"
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in README AUTHORS COPYING CREDITS \
|
|
ChangeLog INSTALL NEWS TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf \
|
|
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/mt-daapd.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DAAPD_DBDIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|