2018-03-18 10:14:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.70 2018/03/18 09:14:19 wiz Exp $
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
DISTNAME= Apache-Gallery-1.0.2-withoutworldwriteables
|
|
|
|
PKGNAME= ${DISTNAME:C/-without.*//}
|
|
|
|
CATEGORIES= graphics www
|
|
|
|
MASTER_SITES= https://cpan.metacpan.org/authors/id/L/LE/LEGART/
|
2002-09-02 00:42:49 +02:00
|
|
|
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
|
|
HOMEPAGE= http://apachegallery.dk/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= Perl5/Apache module for handling image directories
|
2009-07-07 18:27:33 +02:00
|
|
|
LICENSE= artistic
|
|
|
|
|
2003-09-21 18:21:14 +02:00
|
|
|
DEPENDS+= p5-Image-Imlib2-[0-9]*:../../graphics/p5-Image-Imlib2
|
2018-03-18 10:14:19 +01:00
|
|
|
DEPENDS+= p5-Image-Info-[0-9]*:../../graphics/p5-Image-Info
|
2002-09-02 00:42:49 +02:00
|
|
|
DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
|
2005-01-23 19:26:39 +01:00
|
|
|
DEPENDS+= p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template
|
2018-03-18 10:14:19 +01:00
|
|
|
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
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
USE_LANGUAGES= # none
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
TEST_ENV+= MOD_PERL_API_VERSION=2
|
|
|
|
BUILD_DEFS+= VARBASE
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
PERL5_PACKLIST= auto/Apache/Gallery/.packlist
|
2004-04-12 20:29:04 +02:00
|
|
|
|
2018-03-18 10:14:19 +01:00
|
|
|
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
|
2002-09-02 00:42:49 +02:00
|
|
|
|
2002-10-27 20:54:29 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2018-03-18 10:14:19 +01:00
|
|
|
# for make test
|
|
|
|
# (still asking for Apache::FakeRequest)
|
|
|
|
.include "../../www/ap2-perl/buildlink3.mk"
|
2002-09-02 00:42:49 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|