pkgsrc/www/p5-Apache-Gallery/Makefile
2018-08-22 09:43:40 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.71 2018/08/22 09:47:28 wiz Exp $
DISTNAME= Apache-Gallery-1.0.2-withoutworldwriteables
PKGNAME= ${DISTNAME:C/-without.*//}
PKGREVISION= 1
CATEGORIES= graphics www
MASTER_SITES= https://cpan.metacpan.org/authors/id/L/LE/LEGART/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://apachegallery.dk/
COMMENT= Perl5/Apache module for handling image directories
LICENSE= artistic
DEPENDS+= p5-Image-Imlib2-[0-9]*:../../graphics/p5-Image-Imlib2
DEPENDS+= p5-Image-Info-[0-9]*:../../graphics/p5-Image-Info
DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
DEPENDS+= p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template
DEPENDS+= p5-HTTP-Date-[0-9]*:../../www/p5-HTTP-Date
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-CGI-[0-9]*:../../www/p5-CGI
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= # none
TEST_ENV+= MOD_PERL_API_VERSION=2
BUILD_DEFS+= VARBASE
PERL5_PACKLIST= auto/Apache/Gallery/.packlist
SUBST_CLASSES+= var
SUBST_FILES.var+= t/004_cache_dir.t
SUBST_SED.var+= -e 's,/var/tmp/Apache-Gallery,${VARBASE}/cache/www,'
SUBST_STAGE.var= pre-configure
.include "../../lang/perl5/module.mk"
# for make test
# (still asking for Apache::FakeRequest)
.include "../../www/ap2-perl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"