2001-05-14 00:20:57 +00:00
|
|
|
# New ports collection makefile for: mod_mp3
|
2001-04-08 19:42:40 +00:00
|
|
|
# Date created: 7 April 2001
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_mp3
|
2003-10-03 14:04:33 +00:00
|
|
|
PORTVERSION= 0.40
|
2001-04-10 08:09:11 +00:00
|
|
|
CATEGORIES= www audio
|
2001-11-30 06:48:09 +00:00
|
|
|
MASTER_SITES= http://software.tangent.org/download/ \
|
2001-04-09 23:06:02 +00:00
|
|
|
ftp://ftp.tangent.org/pub/apache/ \
|
2002-03-18 01:34:24 +00:00
|
|
|
http://atreides.freenix.no/~anders/
|
2001-04-08 19:42:40 +00:00
|
|
|
|
2004-08-18 16:21:55 +00:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= Apache module to allow MP3 streaming
|
2001-04-08 19:42:40 +00:00
|
|
|
|
2003-11-07 09:12:58 +00:00
|
|
|
USE_APACHE= yes
|
2001-11-24 01:54:02 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2001-04-27 18:34:01 +00:00
|
|
|
MAKE_ARGS+= APXS="${APXS}"
|
2002-11-03 21:11:10 +00:00
|
|
|
USE_PERL5= yes
|
2001-04-27 18:34:01 +00:00
|
|
|
|
2003-10-03 14:04:33 +00:00
|
|
|
DOCS= ChangeLog README TODO faq.html CONTRIBUTORS
|
2001-04-08 19:42:40 +00:00
|
|
|
|
2003-04-06 01:31:42 +00:00
|
|
|
.if defined(WITH_MYSQL)
|
2003-08-28 12:57:52 +00:00
|
|
|
USE_MYSQL= YES
|
2003-04-06 01:31:42 +00:00
|
|
|
CONFIGURE_ARGS+= --with-mysql
|
|
|
|
.endif
|
|
|
|
|
2001-04-08 19:42:40 +00:00
|
|
|
do-install:
|
2002-01-22 05:25:15 +00:00
|
|
|
${APXS} -i -A -n mp3 ${WRKSRC}/src/mod_mp3.so
|
2001-04-09 23:06:02 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-06-18 23:00:41 +00:00
|
|
|
@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/mod_mp3
|
2001-04-09 23:06:02 +00:00
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_mp3/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
2001-04-08 19:42:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|