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

31 lines
848 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.2 2001/08/31 23:25:06 pvalchev Exp $
COMMENT= "mod_perl class for generating browsable MP3 directory lists"
DISTNAME= Apache-MP3-2.19
PKGNAME= p5-${DISTNAME}
CATEGORIES= www audio
NEED_VERSION= 1.448
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
BUILD_DEPENDS= ${LOCALBASE}/lib/mod_perl.so::www/mod_perl
RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/libdata/perl5/site_perl/MP3/Info.pm::audio/p5-MP3-Info
CONFIGURE_STYLE= perl
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/apache_mp3
${INSTALL_DATA} ${WRKSRC}/apache_mp3/* ${PREFIX}/share/examples/apache_mp3
.include <bsd.port.mk>