aboutsummaryrefslogtreecommitdiff
path: root/www/mod_mp3
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-09 23:06:02 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-09 23:06:02 +0000
commit475a82ab60f3cf0776c54caaff4f122b8c706755 (patch)
treebe9d07a09c484fb9cdda125ee47ebc44e37ad847 /www/mod_mp3
parent63a85324690b24b01ccc48c372314814c6b44b7f (diff)
downloadports-475a82ab60f3cf0776c54caaff4f122b8c706755.tar.gz
ports-475a82ab60f3cf0776c54caaff4f122b8c706755.zip
From Anders Nordby <anders@fix.no>:
- Upgrade to 0.7. - Add 2 new MASTER_SITES. - Add informative pkg-message. - Add documentation. - Anders will be maintainer. Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=41152
Diffstat (limited to 'www/mod_mp3')
-rw-r--r--www/mod_mp3/Makefile16
-rw-r--r--www/mod_mp3/distinfo2
-rw-r--r--www/mod_mp3/pkg-message14
-rw-r--r--www/mod_mp3/pkg-plist5
4 files changed, 33 insertions, 4 deletions
diff --git a/www/mod_mp3/Makefile b/www/mod_mp3/Makefile
index 357c5b183b69..c77d2d6add69 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 <bsd.port.mk>
diff --git a/www/mod_mp3/distinfo b/www/mod_mp3/distinfo
index 3802b9b6ddb8..70b8148b7d34 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 000000000000..372168f71a28
--- /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 ea7da22f779e..1602c8e272ea 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