pkgsrc-wip/icecast/Makefile
Johnny C. Lam 64bfcf7b60 Catch up to modern pkginstall framework: USE_PKGINSTALL has been dead
for a while now, and *_EXTRA_TMPL are generally not needed anymore.
2006-03-14 01:27:57 +00:00

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2006/03/14 01:28:00 jlamwww Exp $
#
DISTNAME= icecast-1.3.12
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.icecast.org/files/
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.icecast.org/
COMMENT= Internet broadcasting system using Mpeg Layer III streaming
GNU_CONFIGURE= yes
RCD_SCRIPTS= icecast
PKG_SYSCONFSUBDIR= icecast
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-readline \
--with-libwrap
.if defined(ICECAST_USE_PYTHON) && ${ICECAST_USE_PYTHON} == YES
CONFIGURE_ARGS+= --with-python
.include "../../lang/python/application.mk"
.endif
CPPFLAGS+= -I${BUILDLINK_PREFIX.readline}/include/readline
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PYPACKAGE}}
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LDFLAGS}
LDFLAGS+= ${BUILDLINK_LDFLAGS.${PYPACKAGE}}
LIBS+= -lutil
PTHREAD_OPTS+= require
EGDIR= ${PREFIX}/share/examples/icecast
EGFILES= groups.aut mounts.aut users.aut icecast.conf
.for f in ${EGFILES}
CONF_FILES+= ${EGDIR}/${f}.dist ${PKG_SYSCONFDIR}/${f}
.endfor
.undef f
.include "../../devel/readline/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"