summaryrefslogtreecommitdiffstats
path: root/www/mod_mp3
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-09 23:06:02 +0000
committerwill <will@FreeBSD.org>2001-04-09 23:06:02 +0000
commit4064e3407b7566cf159c95bdb8b948d71c37f59c (patch)
tree1c971b964245bec4cbc9e38eb31e14ca1b085782 /www/mod_mp3
parente553caa92caff722506f252d8af5b5e248a3eafb (diff)
downloadFreeBSD-ports-4064e3407b7566cf159c95bdb8b948d71c37f59c.zip
FreeBSD-ports-4064e3407b7566cf159c95bdb8b948d71c37f59c.tar.gz
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>
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 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 <bsd.port.mk>
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
OpenPOWER on IntegriCloud