Lines 3-19
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= firefly |
4 |
PORTNAME= firefly |
5 |
PORTVERSION= 1696 |
5 |
PORTVERSION= 1696 |
6 |
PORTREVISION= 10 |
6 |
PORTREVISION= 11 |
7 |
CATEGORIES= audio |
7 |
CATEGORIES= audio |
8 |
MASTER_SITES= http://nightlies.fireflymediaserver.org/nightlies/svn-${PORTVERSION}/ \ |
8 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ |
9 |
http://www.magnesium.net/~mdf/distfiles/ |
9 |
${MASTER_SITE_SOURCEFORGE} |
|
|
10 |
MASTER_SITE_SUBDIR= fireflyserver-server/Sources/mt-daapd/svn-1696 |
10 |
DISTNAME= mt-daapd-svn-${PORTVERSION} |
11 |
DISTNAME= mt-daapd-svn-${PORTVERSION} |
11 |
|
12 |
|
12 |
MAINTAINER= info@netocean.de |
13 |
MAINTAINER= info@NetOcean.de |
13 |
COMMENT= Open-source media server for the Roku SoundBridge and iTunes |
14 |
COMMENT= Open-source media server for the Roku SoundBridge and iTunes |
14 |
|
15 |
|
15 |
LICENSE= GPLv2 |
16 |
LICENSE= GPLv2 |
16 |
BROKEN= Does not fetch |
|
|
17 |
|
17 |
|
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/vorbis/codec.h:${PORTSDIR}/audio/libvorbis \ |
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/vorbis/codec.h:${PORTSDIR}/audio/libvorbis \ |
19 |
${LOCALBASE}/include/FLAC/metadata.h:${PORTSDIR}/audio/flac |
19 |
${LOCALBASE}/include/FLAC/metadata.h:${PORTSDIR}/audio/flac |
Lines 33-43
Link Here
|
33 |
|
33 |
|
34 |
DAAPD_USER?= daapd |
34 |
DAAPD_USER?= daapd |
35 |
DAAPD_GROUP?= daapd |
35 |
DAAPD_GROUP?= daapd |
36 |
DAAPD_DBDIR?= ${PREFIX}/var/db/${PORTNAME} |
36 |
DAAPD_DBDIR?= ${BASEDIR}/var/db/${PORTNAME} |
37 |
USE_RC_SUBR= mt-daapd |
37 |
USE_RC_SUBR= mt-daapd |
38 |
USERS= ${DAAPD_USER} |
38 |
USERS= ${DAAPD_USER} |
39 |
GROUPS= ${DAAPD_GROUP} |
39 |
GROUPS= ${DAAPD_GROUP} |
40 |
|
40 |
|
|
|
41 |
SUB_LIST+= DAAPD_USER=${DAAPD_USER} \ |
42 |
DAAPD_GROUP=${DAAPD_GROUP} \ |
43 |
DAAPD_DBDIR=${DAAPD_DBDIR} |
44 |
|
45 |
SUB_FILES= pkg-install pkg-message |
41 |
PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} \ |
46 |
PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} \ |
42 |
DAAPD_USER=${DAAPD_USER} \ |
47 |
DAAPD_USER=${DAAPD_USER} \ |
43 |
DAAPD_GROUP=${DAAPD_GROUP} \ |
48 |
DAAPD_GROUP=${DAAPD_GROUP} \ |
Lines 62-68
Link Here
|
62 |
@${ECHO_CMD} "Define vars below if you need:" |
67 |
@${ECHO_CMD} "Define vars below if you need:" |
63 |
@${ECHO_CMD} "DAAPD_USER=${DAAPD_USER} (default: daapd)" |
68 |
@${ECHO_CMD} "DAAPD_USER=${DAAPD_USER} (default: daapd)" |
64 |
@${ECHO_CMD} "DAAPD_GROUP=${DAAPD_GROUP} (default: daapd)" |
69 |
@${ECHO_CMD} "DAAPD_GROUP=${DAAPD_GROUP} (default: daapd)" |
65 |
@${ECHO_CMD} "DAAPD_DBDIR=${DAAPD_DBDIR} (default: ${PREFIX}/var/db/${PORTNAME})" |
70 |
@${ECHO_CMD} "DAAPD_DBDIR=${DAAPD_DBDIR} (default: ${BASEDIR}/var/db/${PORTNAME})" |
66 |
|
71 |
|
67 |
post-patch: |
72 |
post-patch: |
68 |
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' \ |
73 |
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' \ |
Lines 76-83
Link Here
|
76 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} |
81 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} |
77 |
.endfor |
82 |
.endfor |
78 |
.endif |
83 |
.endif |
|
|
84 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} |
85 |
@${CHMOD} 0755 ${STAGEDIR}${PREFIX}/etc/${PORTNAME} |
79 |
${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf \ |
86 |
${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf \ |
80 |
${STAGEDIR}${PREFIX}/etc/mt-daapd.conf.sample |
87 |
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/mt-daapd.conf.sample |
81 |
@${MKDIR} ${STAGEDIR}${DAAPD_DBDIR} |
88 |
@${MKDIR} ${STAGEDIR}${DAAPD_DBDIR} |
82 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
89 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
83 |
@${CHMOD} 0755 ${STAGEDIR}${DAAPD_DBDIR} |
90 |
@${CHMOD} 0755 ${STAGEDIR}${DAAPD_DBDIR} |