2001-05-14 02:20:57 +02:00
|
|
|
# New ports collection makefile for: mod_mp3
|
2001-04-08 21:42:40 +02:00
|
|
|
# Date created: 7 April 2001
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_mp3
|
2003-10-03 16:04:33 +02:00
|
|
|
PORTVERSION= 0.40
|
2009-04-13 05:20:23 +02:00
|
|
|
PORTREVISION= 1
|
2001-04-10 10:09:11 +02:00
|
|
|
CATEGORIES= www audio
|
2005-05-22 15:45:59 +02:00
|
|
|
MASTER_SITES= http://download.tangent.org/
|
2010-05-25 22:17:37 +02:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2001-04-08 21:42:40 +02:00
|
|
|
|
2004-08-18 18:21:55 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Apache module to allow MP3 streaming
|
2001-04-08 21:42:40 +02:00
|
|
|
|
2009-05-17 09:24:35 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2009-04-13 05:20:23 +02:00
|
|
|
USE_APACHE= 1.3
|
2001-11-24 02:54:02 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2001-04-27 20:34:01 +02:00
|
|
|
MAKE_ARGS+= APXS="${APXS}"
|
2002-11-03 22:11:10 +01:00
|
|
|
USE_PERL5= yes
|
2001-04-27 20:34:01 +02:00
|
|
|
|
2009-04-13 05:20:23 +02:00
|
|
|
PORTDOCS= ChangeLog README TODO faq.html CONTRIBUTORS
|
2001-04-08 21:42:40 +02:00
|
|
|
|
2003-04-06 03:31:42 +02:00
|
|
|
.if defined(WITH_MYSQL)
|
2003-08-28 14:57:52 +02:00
|
|
|
USE_MYSQL= YES
|
2003-04-06 03:31:42 +02:00
|
|
|
CONFIGURE_ARGS+= --with-mysql
|
|
|
|
.endif
|
|
|
|
|
2001-04-08 21:42:40 +02:00
|
|
|
do-install:
|
2002-01-22 06:25:15 +01:00
|
|
|
${APXS} -i -A -n mp3 ${WRKSRC}/src/mod_mp3.so
|
2001-04-10 01:06:02 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-04-13 05:20:23 +02:00
|
|
|
${MKDIR} ${DOCSDIR}/
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
2001-04-10 01:06:02 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
2001-04-08 21:42:40 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|