diff options
author | wg <wg@FreeBSD.org> | 2013-09-23 22:09:58 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-09-23 22:09:58 +0800 |
commit | 1e9f632e0b8f3786b312d6754bf32f818e044f58 (patch) | |
tree | 8caf07969b077ff82f439414246a08276d36abc3 | |
parent | a019257555765d5e4d968fab2514bbea52ed793e (diff) | |
download | freebsd-ports-graphics-1e9f632e0b8f3786b312d6754bf32f818e044f58.tar.gz freebsd-ports-graphics-1e9f632e0b8f3786b312d6754bf32f818e044f58.tar.zst freebsd-ports-graphics-1e9f632e0b8f3786b312d6754bf32f818e044f58.zip |
net/minidlna: allow staging
- Allow stating
- Convert lib depends to new format
-rw-r--r-- | net/minidlna/Makefile | 26 | ||||
-rw-r--r-- | net/minidlna/pkg-plist | 2 |
2 files changed, 13 insertions, 15 deletions
diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 9fe5f0f13fb..3b80484029b 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -11,14 +11,14 @@ MASTER_SITES= SF MAINTAINER= wg@FreeBSD.org 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 +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 \ @@ -32,10 +32,6 @@ SUB_LIST+= USER=${USERS} USERS= dlna GROUPS= dlna -MAN5= minidlna.conf.5 -MAN8= minidlnad.8 - -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} @@ -47,9 +43,9 @@ PLIST_SUB+= NLS="@comment " .endif post-install: - ${INSTALL_MAN} ${MAN5:S,^,${WRKSRC}/,} ${MANPREFIX}/man/man5/ - ${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/,} ${MANPREFIX}/man/man8/ - ${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${PREFIX}/etc/minidlna.conf.sample + ${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 @${FMT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/net/minidlna/pkg-plist b/net/minidlna/pkg-plist index 9a417ec94a4..db6952077f9 100644 --- a/net/minidlna/pkg-plist +++ b/net/minidlna/pkg-plist @@ -2,6 +2,8 @@ sbin/minidlnad @unexec if cmp -s %D/etc/minidlna.conf %D/etc/minidlna.conf.sample; then rm -f %D/etc/minidlna.conf; fi etc/minidlna.conf.sample @exec [ -f %D/etc/minidlna.conf ] || cp -p %D/etc/minidlna.conf.sample %D/etc/minidlna.conf +man/man5/minidlna.conf.5 +man/man8/minidlnad.8 %%NLS%%share/locale/da/LC_MESSAGES/minidlna.mo %%NLS%%share/locale/de/LC_MESSAGES/minidlna.mo %%NLS%%share/locale/es/LC_MESSAGES/minidlna.mo |