openbsd-ports/www/p5-Apache-MP3/Makefile

35 lines
886 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2001/10/31 20:35:37 wilfried Exp $
COMMENT= "mod_perl class for generating browsable MP3 directory lists"
DISTNAME= Apache-MP3-2.20
PKGNAME= p5-${DISTNAME}
CATEGORIES= www audio perl5
NEED_VERSION= 1.488
MAINTAINER= Nikolay Sturm <nikolay.sturm@desy.de>
# GPL or Artistic License ("same as Perl")
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
BUILD_DEPENDS= :p5-MP3-Info-*:audio/p5-MP3-Info
RUN_DEPENDS= :mod_perl-*:www/mod_perl \
:p5-MP3-Info-*:audio/p5-MP3-Info
CONFIGURE_STYLE= perl
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/apache_mp3
${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${PREFIX}/share/examples/apache_mp3
.include <bsd.port.mk>