diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-05-31 18:26:51 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-05-31 18:26:51 +0000 |
commit | f7ad06b4a197246ae39da8e5bd63dd0f0a384041 (patch) | |
tree | 36991467e9252727e0ca7175d502393f583ad2d9 /www/photo_gallery | |
parent | 9283277aea74f5f183635935f03aca29d530e8af (diff) | |
download | ports-f7ad06b4a197246ae39da8e5bd63dd0f0a384041.tar.gz ports-f7ad06b4a197246ae39da8e5bd63dd0f0a384041.zip |
Notes
Diffstat (limited to 'www/photo_gallery')
-rw-r--r-- | www/photo_gallery/Makefile | 16 | ||||
-rw-r--r-- | www/photo_gallery/pkg-plist | 10 |
2 files changed, 12 insertions, 14 deletions
diff --git a/www/photo_gallery/Makefile b/www/photo_gallery/Makefile index 24becc11dc76..1640b7a59760 100644 --- a/www/photo_gallery/Makefile +++ b/www/photo_gallery/Makefile @@ -6,6 +6,7 @@ PORTNAME= photo_gallery PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.capybara.org/~dfraser/photo_gallery/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -15,20 +16,17 @@ MAINTAINER= bob@bomar.us COMMENT= Simple web based photo gallery RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm\ - ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13\ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ ${SITE_PERL}/Image/Info.pm:${PORTSDIR}/graphics/p5-Image-Info\ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI -WEBOWN?= www -WEBGRP?= www -APACHEDIR= ${LOCALBASE}/www/data -INSTALLDIR= ${APACHEDIR}/photo -NO_BUILD= yes +USE_APACHE= 1.3 USE_PERL5= yes +NO_BUILD= yes do-install: - ${MKDIR} ${INSTALLDIR} - cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR} + ${MKDIR} ${WWWDIR}/ + @cd ${WRKSRC}; ${FIND} . \ + | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + .include <bsd.port.mk> diff --git a/www/photo_gallery/pkg-plist b/www/photo_gallery/pkg-plist index 9471b41846b5..3a27e01e7690 100644 --- a/www/photo_gallery/pkg-plist +++ b/www/photo_gallery/pkg-plist @@ -1,5 +1,5 @@ -www/data/photo/index.cgi -www/data/photo/readme.html -www/data/photo/.header.html -www/data/photo/.footer.html -@dirrm www/data/photo +%%WWWDIR%%/index.cgi +%%WWWDIR%%/readme.html +%%WWWDIR%%/.header.html +%%WWWDIR%%/.footer.html +@dirrm %%WWWDIR%% |