84e727457f
Notable changes: - i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39 - NETCDF is now MYSOFA but the dependency doesn't exist in ports yet - SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9 - DRM, LIBRSVG2, LIBXML2 are new options - ABI isn't completely compatible: some structs have changed Minor cleanup: - Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency - Drop redundant "Enable" from option descriptions - Switch CDIO_DESC to use Mk/bsd.options.desc.mk Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/ PR: 223057 Exp-run by: antoine
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= minidlna
|
|
PORTVERSION= 1.2.0
|
|
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:databases/sqlite3 \
|
|
libexif.so:graphics/libexif \
|
|
libid3tag.so:audio/libid3tag \
|
|
libogg.so:audio/libogg \
|
|
libvorbis.so:audio/libvorbis \
|
|
libFLAC.so:audio/flac \
|
|
libavformat.so:multimedia/ffmpeg
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-db-path=/var/db/minidlna \
|
|
--with-os-url="http://www.FreeBSD.org"
|
|
USES= autoreconf gettext-tools iconv jpeg localbase
|
|
|
|
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>
|