blob: 3dbad3a1d1b9eb6b8c0f5480f27fa6634b1962bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.4 2013/05/09 07:40:19 adam Exp $
#
DISTNAME= minidlna_1.0.25_src
PKGNAME= minidlna-1.0.25
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/1.0.25/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://minidlna.sourceforge.net/
COMMENT= DLNA server
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/minidlna-1.0.25
MAKE_FILE= BSDmakefile
EGDIR= ${PREFIX}/share/examples/minidlna
SUBST_CLASSES+= confdir
SUBST_STAGE.confdir= pre-build
SUBST_FILES.confdir= minidlna.c
SUBST_VARS.confdir= PKG_SYSCONFDIR
CONF_FILES= ${EGDIR}/minidlna.conf \
${PKG_SYSCONFDIR}/minidlna.conf
RCD_SCRIPTS= minidlna
INSTALLATION_DIRS= sbin share/examples/minidlna
post-patch:
${CP} \
${FILESDIR}/BSDmakefile \
${FILESDIR}/config.h \
${FILESDIR}/getifaddr.c \
${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/minidlna ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${DESTDIR}${EGDIR}
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|