freebsd-ports/www/mod_mp3/Makefile
Edwin Groothuis b69b7934d9 [PATCH] Addition of mysql-awareness to mod_mp3 port Makefile
mod_mp3 has support for storing the file lists within MySQL,
	but the port is not currently able to take advantage of
	this.

PR:		ports/39312
Submitted by:	"Kelly Cochran" <kcochran@trolans.net>
2003-04-06 01:31:42 +00:00

44 lines
1 KiB
Makefile

# New ports collection makefile for: mod_mp3
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= mod_mp3
PORTVERSION= 0.39
CATEGORIES= www audio
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/ \
http://atreides.freenix.no/~anders/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module to allow MP3 streaming
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
HAS_CONFIGURE= yes
MAKE_ARGS+= APXS="${APXS}"
USE_PERL5= yes
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
DOCS= ChangeLog README TODO faq.html
.if defined(WITH_MYSQL)
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+= --with-mysql
.endif
do-install:
${APXS} -i -A -n mp3 ${WRKSRC}/src/mod_mp3.so
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/mod_mp3
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_mp3/
.endfor
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>