summaryrefslogtreecommitdiff
path: root/www/ap-mp3/Makefile
blob: 05247fc3629bd6c9ed403db0ed147897243dfc32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:30 jlam Exp $
#

DISTNAME=	mod_mp3-0.35
PKGNAME=	ap-mp3-0.35
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

DEPENDS+=	apache{,6}-1.3.*:../../www/apache
USE_PERL5=	build	# for "apxs"

DOC_DIR=	${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3

do-build:
	@cd ${WRKSRC}/src && ${PREFIX}/sbin/apxs -c -o mod_mp3.so \
		directives.c \
		encode.c \
		ice.c \
		load.c \
		mod_mp3.c \
		shout.c \
		utility.c \
		ogg.c \
		common.c \
		id3.c \
		log.c \
		internal_dispatch.c

do-install:
	@cd ${WRKSRC}/src && ${PREFIX}/sbin/apxs -i mod_mp3.so
	${INSTALL_DATA_DIR} ${DOC_DIR}
	${INSTALL_DATA} ${WRKSRC}/faq.html ${DOC_DIR}

.include "../../mk/bsd.pkg.mk"