337c6b1297
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
29 lines
845 B
Makefile
29 lines
845 B
Makefile
# $NetBSD: Makefile,v 1.12 2006/06/02 18:27:59 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= mod_mp3-0.35
|
|
PKGNAME= ${DISTNAME:C|mod_|ap13-|}
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \
|
|
http://software.tangent.org/download/
|
|
|
|
MAINTAINER= grant@NetBSD.org
|
|
HOMEPAGE= http://software.tangent.org/media/
|
|
COMMENT= Apache module for streaming mp3 files
|
|
|
|
CONFLICTS= ap-mp3-[0-9]*
|
|
|
|
APACHE_MODULE_NAME= ${DISTNAME:C|-.*||}.so
|
|
APACHE_MODULE_SRCDIR= ${WRKSRC}/src
|
|
APACHE_MODULE_SRC= common.c directives.c encode.c ice.c id3.c
|
|
APACHE_MODULE_SRC+= internal_dispatch.c load.c log.c mod_mp3.c
|
|
APACHE_MODULE_SRC+= ogg.c shout.c utility.c
|
|
|
|
DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/faq.html ${DOC_DIR}
|
|
|
|
.include "../../www/apache/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|