mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
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>
This commit is contained in:
parent
63a8532469
commit
475a82ab60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41152
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (mod_mp3-0.6.tar.gz) = b28ed0f2bee1157761680f27b294a942
|
||||
MD5 (mod_mp3-0.7.tar.gz) = d81c828192841660d771f8d1635d161c
|
||||
|
14
www/mod_mp3/pkg-message
Normal file
14
www/mod_mp3/pkg-message
Normal file
@ -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
|
||||
|
||||
************************************************************
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user