Lines 1-6
Link Here
|
1 |
# New ports collection makefile for: mt-daapd-devel |
1 |
# New ports collection makefile for: mt-daapd-devel |
2 |
# Date created: 26 Nov 2007 |
2 |
# Date created: 26 Nov 2007 |
3 |
# Whom: Mark Foster <mark@foster.cc> |
3 |
# Whom: Mark Foster <mark@foster.cc> |
4 |
# $FreeBSD: ports/audio/firefly/Makefile,v 1.5 2010/06/06 20:43:32 naddy Exp $ |
4 |
# $FreeBSD: ports/audio/firefly/Makefile,v 1.5 2010/06/06 20:43:32 naddy Exp $ |
5 |
# |
5 |
# |
Lines 26-39
Link Here
|
26 |
CONFLICTS= mt-daapd-0.2.* |
26 |
CONFLICTS= mt-daapd-0.2.* |
27 |
GNU_CONFIGURE= yes |
27 |
GNU_CONFIGURE= yes |
28 |
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ |
28 |
CONFIGURE_ENV= CFLAGS+="${PTHREAD_CFLAGS}" \ |
29 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ |
29 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ |
30 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
30 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
31 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
31 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
32 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
32 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
33 |
CONFIGURE_ARGS= --prefix=${LOCALBASE} --with-id3tag=${PREFIX} --enable-sqlite3 --enable-oggvorbis --enable-flac |
33 |
CONFIGURE_ARGS= --prefix=${LOCALBASE} --with-id3tag=${PREFIX} \ |
34 |
|
34 |
--enable-sqlite3 --enable-oggvorbis --enable-flac |
35 |
#USE_AUTOTOOLS= autoheader:261 autoconf:261:env |
|
|
36 |
DAAPD_USER?= daapd |
35 |
DAAPD_USER?= daapd |
37 |
DAAPD_GROUP?= daapd |
36 |
DAAPD_GROUP?= daapd |
Lines 41-47
Link Here
|
41 |
USE_RC_SUBR= mt-daapd |
40 |
USE_RC_SUBR= mt-daapd |
42 |
PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} |
41 |
PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} |
43 |
SUB_LIST+= USER=${DAAPD_USER} GROUP=${DAAPD_GROUP} DAAPD_DBDIR=${DAAPD_DBDIR} |
42 |
SUB_LIST+= USER=${DAAPD_USER}\ |
|
|
43 |
GROUP=${DAAPD_GROUP}\ |
44 |
DAAPD_DBDIR=${DAAPD_DBDIR} |
44 |
SUB_FILES+= pkg-install pkg-deinstall |
45 |
SUB_FILES+= pkg-install pkg-deinstall |
45 |
USE_LDCONFIG= yes |
46 |
USE_LDCONFIG= yes |
Lines 76-84
Link Here
|
76 |
@${CHMOD} 0755 ${DATADIR} |
77 |
@${CHMOD} 0755 ${DATADIR} |
77 |
@${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DAAPD_DBDIR} |
78 |
@${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DAAPD_DBDIR} |
78 |
@${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DATADIR} |
79 |
@${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DATADIR} |
79 |
${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/libout-daap.so.0.0 ${PREFIX}/lib/mt-daapd/plugins/libout-daap.so |
|
|
80 |
${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/librsp.so.0.0 ${PREFIX}/lib/mt-daapd/plugins/librsp.so |
81 |
${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/libssc-script.so.0.0 ${PREFIX}/lib/mt-daapd/plugins/libssc-script.so |
82 |
@${ECHO_MSG} "This port installs a sample configuration file in" |
80 |
@${ECHO_MSG} "This port installs a sample configuration file in" |
83 |
@${ECHO_MSG} "${LOCALBASE}/etc/mt-daapd.conf.sample" |
81 |
@${ECHO_MSG} "${LOCALBASE}/etc/mt-daapd.conf.sample" |