summaryrefslogtreecommitdiff
path: root/www/p5-Apache-Gallery
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-10-27 19:54:29 +0000
committerseb <seb@pkgsrc.org>2002-10-27 19:54:29 +0000
commit581e491d7ba3b66d5119b559b66e3a9ff365c341 (patch)
treebf9755a85cd5109af3ea39fc7e3c49fc0ca3bfe8 /www/p5-Apache-Gallery
parentd2c8af55fc63f5bc98332211b3541ccdd638f4b2 (diff)
downloadpkgsrc-581e491d7ba3b66d5119b559b66e3a9ff365c341.tar.gz
Use buildlink2. Use perl5/module.mk.
Fix X11 handling: mark with USE_X11 remove inclusion of pkgtools/x11-links/xfree.buildlink2.mk.
Diffstat (limited to 'www/p5-Apache-Gallery')
-rw-r--r--www/p5-Apache-Gallery/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile
index a38c0e496e5..70f228ce485 100644
--- a/www/p5-Apache-Gallery/Makefile
+++ b/www/p5-Apache-Gallery/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/01 22:42:49 kim Exp $
+# $NetBSD: Makefile,v 1.2 2002/10/27 19:54:29 seb Exp $
#
DISTNAME= Apache-Gallery-0.4.1
@@ -11,16 +11,15 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://apachegallery.dk/
COMMENT= perl5/Apache module for handling image directories
-DEPENDS+= ap-perl>=1.25:../../www/ap-perl
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-Image-Info-[0-9]*:../../graphics/p5-Image-Info
DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
DEPENDS+= p5-CGI-FastTemplate-[0-9]*:../../www/p5-CGI-FastTemplate
DEPENDS+= p5-Inline-[0-9]*:../../devel/p5-Inline
DEPENDS+= p5-libapreq-[0-9]*:../../www/p5-libapreq
-DEPENDS+= imlib2-[0-9]*:../../graphics/imlib2
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
+USE_X11= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Apache/Gallery/.packlist
.include "../../mk/bsd.prefs.mk"
@@ -53,9 +52,6 @@ post-patch:
${SED} ${FILES_SUBST_SED} Gallery.pm.orig > Gallery.pm && \
${RM} -f Gallery.pm.orig
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
post-build:
@cd ${WRKSRC}/templates; \
for i in *.tpl; \
@@ -85,7 +81,8 @@ post-install:
${INSTALL_DATA_DIR} ${AG_EGDIR}
${INSTALL_DATA} ${WRKDIR}/${AG}.conf ${AG_EGDIR}
-.include "../../pkgtools/x11-links/xfree.buildlink2.mk"
-.include "../../lang/perl5/buildlink2.mk"
+.include "../../graphics/imlib2/buildlink2.mk"
+.include "../../www/ap-perl/buildlink2.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"