summaryrefslogtreecommitdiffstats
path: root/www/photo_gallery/Makefile
blob: fe9dabd66d07f4bcb35630290d316744f6baaa1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for: 	photo_gallery
# Date created:				Feb 5 2003
# Whom:					Bob Bomar <bob@bomar.us>
#
# $FreeBSD$

PORTNAME=		photo_gallery
PORTVERSION=		1.3
CATEGORIES=		www
MASTER_SITES=		http://www.capybara.org/~dfraser/photo_gallery/
DISTNAME=		${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=		.tar

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_gallery
NO_BUILD=	yes
USE_PERL5=	yes
USE_GZIP=	no

do-install:
		${MKDIR} ${INSTALLDIR}
		cd ${WRKSRC}; ${FIND} . \
			| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud