openbsd-ports/audio/mt-daapd/Makefile
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00

35 lines
749 B
Makefile

COMMENT= multi-threaded DAAP server
DISTNAME= mt-daapd-0.2.4.2
REVISION= 8
CATEGORIES= audio net
HOMEPAGE= http://www.mt-daapd.org/
# GPL APSL
PERMIT_PACKAGE= Yes
WANTLIB += avahi-client avahi-common c gdbm id3tag>=3 pthread z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
LIB_DEPENDS= net/avahi,-libs \
audio/libid3tag \
databases/gdbm
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gdbm-includes=${LOCALBASE}/include \
--with-gdbm-libs=${LOCALBASE}/lib \
--enable-avahi
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>