2007-01-10 03:00:03 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/01/10 08:00:03 steven Exp $
|
2005-09-21 11:15:49 -04:00
|
|
|
|
|
|
|
COMMENT= "multi-threaded DAAP server"
|
|
|
|
|
2006-05-05 01:28:58 -04:00
|
|
|
DISTNAME= mt-daapd-0.2.4
|
2007-01-10 03:00:03 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2005-09-21 11:15:49 -04:00
|
|
|
CATEGORIES= audio net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mt-daapd.org/
|
|
|
|
|
2006-05-05 01:28:58 -04:00
|
|
|
MAINTAINER= Arnaud Bergeron <abergeron@gmail.com>
|
2005-09-21 11:15:49 -04:00
|
|
|
|
|
|
|
# GPL APSL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
|
|
|
|
|
2006-08-01 08:13:28 -04:00
|
|
|
LIB_DEPENDS= gdbm.>=3::databases/gdbm \
|
|
|
|
id3tag.>=3::audio/libid3tag
|
2005-09-21 11:15:49 -04:00
|
|
|
|
|
|
|
WANTLIB= c pthread z
|
|
|
|
|
|
|
|
FLAVORS= howl
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --with-gdbm-includes=${LOCALBASE}/include \
|
|
|
|
--with-gdbm-libs=${LOCALBASE}/lib
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mhowl}
|
2006-08-01 08:13:28 -04:00
|
|
|
LIB_DEPENDS+= howl::net/howl
|
2005-09-21 11:15:49 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-howl --with-howl-includes=${LOCALBASE}/include/howl
|
|
|
|
.endif
|
|
|
|
|
2007-01-10 03:00:03 -05:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},;' \
|
|
|
|
-e 's,!!SYSCONFDIR!!,${SYSCONFDIR},' \
|
|
|
|
${WRKSRC}/contrib/mt-daapd.conf
|
|
|
|
|
2005-09-21 11:15:49 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mt-daapd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.* \
|
|
|
|
${PREFIX}/share/examples/mt-daapd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|