aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-MP3/Makefile
blob: 3e2b785440917c7c6b63a1a6b5a7a40f867f929d (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
36
37
38
# New ports collection makefile for:    p5-Apache-MP3
# Date created:     23-Jan-2001
# Whom:         Dominic Mitchell <dom@happygiraffe.net>
#
# $FreeBSD$
#

PORTNAME=   Apache-MP3
PORTVERSION=    4.00
PORTREVISION=   1
CATEGORIES= www audio perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    MP3 browsing and streaming under mod_perl and Apache

BUILD_DEPENDS=  ${SITE_PERL}/Audio/Wav.pm:${PORTSDIR}/audio/p5-Audio-Wav \
        ${SITE_PERL}/CGI/Session.pm:${PORTSDIR}/www/p5-CGI-Session \
        ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
        ${SITE_PERL}/${PERL_ARCH}/Ogg/Vorbis/Header.pm:${PORTSDIR}/audio/p5-Ogg-Vorbis-Header \
        ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= YES

MAN3=       Apache::MP3.3 \
        Apache::MP3::L10N.3 \
        Apache::MP3::Playlist.3 \
        Apache::MP3::Resample.3 \
        Apache::MP3::Sorted.3

post-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${DATADIR}
    ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>