openbsd-ports/audio/mt-daapd/Makefile
kili e432ddedc4 Remove maintainer per his request.
If someone wants to take this port, please note that it's now at
http://www.fireflymediaserver.org/
2008-10-02 20:44:25 +00:00

45 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.10 2008/10/02 20:44:25 kili Exp $
COMMENT= multi-threaded DAAP server
DISTNAME= mt-daapd-0.2.4.2
PKGNAME= ${DISTNAME}p1
CATEGORIES= audio net
HOMEPAGE= http://www.mt-daapd.org/
# 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/}
LIB_DEPENDS= gdbm.>=3::databases/gdbm \
id3tag.>=3::audio/libid3tag
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}
LIB_DEPENDS+= howl::net/howl
CONFIGURE_ARGS+=--enable-howl --with-howl-includes=${LOCALBASE}/include/howl
.endif
pre-configure:
${SUBST_CMD} ${WRKSRC}/contrib/mt-daapd.conf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mt-daapd
${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.{conf,playlist,spec} \
${PREFIX}/share/examples/mt-daapd
.include <bsd.port.mk>