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)
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= minidlna
|
|
PORTVERSION= 1.1.4
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net multimedia www
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
COMMENT= Media-server compatible with "Digital Life Network Alliance"
|
|
|
|
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libexif.so:${PORTSDIR}/graphics/libexif \
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag \
|
|
libogg.so:${PORTSDIR}/audio/libogg \
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
|
libFLAC.so:${PORTSDIR}/audio/flac \
|
|
libavformat.so:${PORTSDIR}/multimedia/ffmpeg
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-db-path=/var/db/minidlna \
|
|
--with-os-url="http://www.FreeBSD.org"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
USES= autoreconf gettext-tools iconv
|
|
|
|
PKGMESSAGE= ${WRKSRC}/pkg-message
|
|
SUB_FILES+= pkg-message
|
|
USE_RC_SUBR= minidlna
|
|
SUB_LIST+= USER=${USERS}
|
|
|
|
USERS= dlna
|
|
GROUPS= dlna
|
|
|
|
OPTIONS_DEFINE= DEBUG KQUEUE NLS
|
|
OPTIONS_DEFAULT=KQUEUE
|
|
OPTIONS_SUB= yes
|
|
|
|
DEBUG_CFLAGS= -DDEBUG
|
|
KQUEUE_DESC= Experimental patch for automatic rescan using kqueue(2)
|
|
NLS_USES= gettext-runtime
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MKQUEUE}
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-kqueue
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MANPREFIX}/man/man5/
|
|
${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
|
|
${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${STAGEDIR}${PREFIX}/etc/minidlna.conf.sample
|
|
|
|
.include <bsd.port.mk>
|