1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/minidlna/Makefile
2012-06-01 05:26:28 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: minidlna
# Date created: 2010-06-13
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#
PORTNAME= minidlna
PORTVERSION= 1.0.24
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net multimedia www
MASTER_SITES= SF
DISTFILES= ${PORTNAME}_${PORTVERSION}_src.tar.gz
MAINTAINER= mi@aldan.algebra.com
COMMENT= Media-server compatible with "Digital Life Network Alliance"
LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 \
jpeg:${PORTSDIR}/graphics/jpeg \
exif:${PORTSDIR}/graphics/libexif \
id3tag:${PORTSDIR}/audio/libid3tag \
ogg:${PORTSDIR}/audio/libogg \
vorbis:${PORTSDIR}/audio/libvorbis \
FLAC:${PORTSDIR}/audio/flac \
avformat:${PORTSDIR}/multimedia/ffmpeg
MAKE_JOBS_SAFE= yes
MAKEFILE= ${FILESDIR}/BSDmakefile
MAKE_ENV+= FILESDIR="${FILESDIR}" INSTALL_DATA="${INSTALL_DATA}"
EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude getifaddr.c
PKGMESSAGE= ${WRKSRC}/pkg-message
SUB_FILES+= pkg-message
USE_RC_SUBR= minidlna.sh
SUB_LIST+= USER=${USERS}
USERS= dlna
GROUPS= dlna
post-install:
${FMT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800500
EXTRA_PATCHES= ${FILESDIR}/scandir-patch
.endif
.include <bsd.port.post.mk>