pkgsrc/audio/daapd/Makefile
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

42 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2005/12/05 20:49:47 rillig Exp $
DISTNAME= daapd-0.2.3d
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
MAINTAINER= nathanw@NetBSD.org
HOMEPAGE= http://www.deleet.de/projekte/daap/daapd/
COMMENT= Server for DAA protocol (iTunes)
USE_LANGUAGES= c c++
USE_PKGINSTALL= yes
USE_TOOLS+= gmake
MAKEFILE= makefile
RCD_SCRIPTS= daapd
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/daapd.conf ${PKG_SYSCONFDIR}/daapd.conf
PKG_OPTIONS_VAR=PKG_OPTIONS.daapd
PKG_SUPPORTED_OPTIONS=faad
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfaad)
.include "../../audio/faad2/buildlink3.mk"
MAKE_ENV+= WITH_FAAD=1
.else
MAKE_ENV+= WITH_FAAD=0
.endif
post-install:
${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/daapd-example.conf ${EGDIR}/daapd.conf
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../net/howl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"