123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # $OpenBSD: Makefile,v 1.19 2017/05/21 14:52:54 sthen Exp $
- COMMENT= lightweight DLNA/UPnP-AV media server (aka ReadyMedia)
- V= 1.2.0
- DISTNAME= minidlna-$V
- PKGNAME= minidlna-$V
- CATEGORIES= multimedia
- MAINTAINER= Stuart Henderson <sthen@openbsd.org>
- HOMEPAGE= http://sourceforge.net/projects/minidlna/
- # GPLv2 only
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += FLAC avformat avutil c exif id3tag jpeg ogg
- WANTLIB += pthread sqlite3 vorbis
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/}
- CONFIGURE_STYLE= gnu
- CONFIGURE_ARGS= --with-log-path=/var/log/minidlna \
- --with-db-path=/var/db/minidlna \
- --with-os-url=http://www.openbsd.org/
- CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
- MODULES= devel/gettext
- LIB_DEPENDS= audio/flac \
- audio/libid3tag \
- databases/sqlite3 \
- graphics/ffmpeg \
- graphics/jpeg \
- graphics/libexif
- NO_TEST= Yes
- E= ${PREFIX}/share/examples/minidlna
- post-install:
- ${INSTALL_DATA_DIR} $E
- ${INSTALL_DATA} ${WRKSRC}/minidlna.conf $E
- ${INSTALL_MAN} ${WRKSRC}/minidlnad.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/minidlna.conf.5 ${PREFIX}/man/man5
- .include <bsd.port.mk>
|