From 4064e3407b7566cf159c95bdb8b948d71c37f59c Mon Sep 17 00:00:00 2001 From: will Date: Mon, 9 Apr 2001 23:06:02 +0000 Subject: From Anders Nordby : - Upgrade to 0.7. - Add 2 new MASTER_SITES. - Add informative pkg-message. - Add documentation. - Anders will be maintainer. Submitted by: Anders Nordby --- www/mod_mp3/Makefile | 16 +++++++++++++--- www/mod_mp3/distinfo | 2 +- www/mod_mp3/pkg-message | 14 ++++++++++++++ www/mod_mp3/pkg-plist | 5 +++++ 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 www/mod_mp3/pkg-message (limited to 'www/mod_mp3') diff --git a/www/mod_mp3/Makefile b/www/mod_mp3/Makefile index 357c5b1..c77d2d6 100644 --- a/www/mod_mp3/Makefile +++ b/www/mod_mp3/Makefile @@ -6,21 +6,31 @@ # PORTNAME= mod_mp3 -PORTVERSION= 0.6 +PORTVERSION= 0.7 CATEGORIES= www -MASTER_SITES= http://www.tangent.org/mod_mp3/ +MASTER_SITES= http://www.tangent.org/mod_mp3/ \ + ftp://ftp.tangent.org/pub/apache/ \ + http://www.freenix.no/~anders/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= anders@fix.no BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 APXS?= ${LOCALBASE}/sbin/apxs +DOCS= ChangeLog README TODO faq.html do-build: @cd ${WRKSRC} && ${APXS} -c mod_mp3.c do-install: ${APXS} -i -A -n mp3 ${WRKSRC}/mod_mp3.so +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/mod_mp3 +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_mp3/ +.endfor +.endif + ${CAT} ${PKGMESSAGE} .include diff --git a/www/mod_mp3/distinfo b/www/mod_mp3/distinfo index 3802b9b..70b8148 100644 --- a/www/mod_mp3/distinfo +++ b/www/mod_mp3/distinfo @@ -1 +1 @@ -MD5 (mod_mp3-0.6.tar.gz) = b28ed0f2bee1157761680f27b294a942 +MD5 (mod_mp3-0.7.tar.gz) = d81c828192841660d771f8d1635d161c diff --git a/www/mod_mp3/pkg-message b/www/mod_mp3/pkg-message new file mode 100644 index 0000000..372168f --- /dev/null +++ b/www/mod_mp3/pkg-message @@ -0,0 +1,14 @@ +************************************************************ +You've installed mod_mp3, a MP3 streaming module for Apache. + +Edit your apache.conf or httpd.conf to enable and setup this +module. Have a look at the files in +${PREFIX}/share/doc/mod_mp3 for information on how to +configure it etc. + +Then do this to make it work effective: + +# apachectl configtest (see if there are any config errors) +# apachectl restart + +************************************************************ diff --git a/www/mod_mp3/pkg-plist b/www/mod_mp3/pkg-plist index ea7da22..1602c8e 100644 --- a/www/mod_mp3/pkg-plist +++ b/www/mod_mp3/pkg-plist @@ -1,3 +1,8 @@ libexec/apache/mod_mp3.so @exec %D/sbin/apxs -e -A -n mp3 %D/%F @unexec %D/sbin/apxs -e -A -n mp3 %D/%F +%%PORTDOCS%%share/doc/mod_mp3/ChangeLog +%%PORTDOCS%%share/doc/mod_mp3/README +%%PORTDOCS%%share/doc/mod_mp3/TODO +%%PORTDOCS%%share/doc/mod_mp3/faq.html +%%PORTDOCS%%@dirrm share/doc/mod_mp3 -- cgit v1.1