aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_mp3/Makefile
blob: 6f57a0ed23deccfe174871c7bb5bfc865cb21019 (plain) (blame)
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
# New ports collection makefile for:    mod_mp3
# Date created:             7 April 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   mod_mp3
PORTVERSION=    0.23
CATEGORIES= www audio
MASTER_SITES=   http://media.tangent.org/ \
        ftp://ftp.tangent.org/pub/apache/ \
        http://www.freenix.no/~anders/

MAINTAINER= anders@fix.no

BUILD_DEPENDS=  ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS=    ${APXS}:${PORTSDIR}/www/apache13

MAKE_ARGS+= APXS="${APXS}"

APXS?=      ${LOCALBASE}/sbin/apxs
DOCS=       ChangeLog README TODO faq.html

do-install:
    ${APXS} -i -A -n mp3 ${WRKSRC}/mod_mp3.so
.if !defined(NOPORTDOCS)
    @${INSTALL} -d -m 0755 ${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>