diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-05-08 16:56:44 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-05-08 16:56:44 +0000 |
commit | ce48e97aedd833d561ae9ab54450e034c321a0b8 (patch) | |
tree | 2c6a7f315ca0e3e924994ebee5b2db6aab98bbc2 /www/p5-Apache-Gallery | |
parent | 734d765cfec7435b2a4f5f89779c60ce2c73ecd5 (diff) | |
download | ports-ce48e97aedd833d561ae9ab54450e034c321a0b8.tar.gz ports-ce48e97aedd833d561ae9ab54450e034c321a0b8.zip |
Notes
Diffstat (limited to 'www/p5-Apache-Gallery')
-rw-r--r-- | www/p5-Apache-Gallery/Makefile | 19 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/files/pkg-message.in (renamed from www/p5-Apache-Gallery/pkg-message) | 0 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/pkg-plist | 1 |
3 files changed, 9 insertions, 11 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile index b94b6d9d8937..a0e8c2651b3b 100644 --- a/www/p5-Apache-Gallery/Makefile +++ b/www/p5-Apache-Gallery/Makefile @@ -7,6 +7,7 @@ PORTNAME= Apache-Gallery PORTVERSION= 1.0.r3 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= www perl5 MASTER_SITES= http://apachegallery.dk/download/ \ @@ -17,8 +18,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r3//}RC3 MAINTAINER= brix@FreeBSD.org COMMENT= Apache::Gallery - mod_perl handler to create an image gallery -BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} \ - ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \ +BUILD_DEPENDS= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \ ${SITE_PERL}/Image/Info.pm:${PORTSDIR}/graphics/p5-Image-Info \ ${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \ @@ -27,21 +27,18 @@ BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} \ RUN_DEPENDS= ${BUILD_DEPENDS} .if defined(WITH_APACHE2) -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 -DEPENDS_ARGS+= WITHOUT_MODPERL=yes -DEPENDS_ARGS+= WITH_MODPERL2=yes +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2 .else -# XXX - probe for static mod_perl using `httpd -l | grep perl` -BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \ - ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq .endif PERL_CONFIGURE= yes -APACHE_COMPAT= yes MAN3= Apache::Gallery.3 DOC_FILES= INSTALL LICENSE README TODO UPGRADE +SUB_FILES+= pkg-message + post-install: @${MKDIR} ${PREFIX}/www/icons/gallery/ ${INSTALL_DATA} ${WRKSRC}/htdocs/* \ @@ -54,14 +51,14 @@ post-install: ${DATADIR}/templates/new/ .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/ .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/ .endfor .endif .if !defined(BATCH) - @${SED} s!%%DATADIR%%!${DATADIR}!g ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .endif .include <bsd.port.pre.mk> diff --git a/www/p5-Apache-Gallery/pkg-message b/www/p5-Apache-Gallery/files/pkg-message.in index 9ec2a8c5a923..9ec2a8c5a923 100644 --- a/www/p5-Apache-Gallery/pkg-message +++ b/www/p5-Apache-Gallery/files/pkg-message.in diff --git a/www/p5-Apache-Gallery/pkg-plist b/www/p5-Apache-Gallery/pkg-plist index 2f6d2b6af3c4..f363a6172be7 100644 --- a/www/p5-Apache-Gallery/pkg-plist +++ b/www/p5-Apache-Gallery/pkg-plist @@ -64,6 +64,7 @@ www/icons/gallery/video-wmv.png %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/UPGRADE @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache @dirrmtry %%SITE_PERL%%/Apache @dirrm %%DATADIR%%/templates/default @dirrm %%DATADIR%%/templates/new |