blob: 093a77f8c70dee4ee13422d46043147376c5fe21 (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
|
PORTNAME= gallery2
PORTVERSION= 2.3.2
PORTREVISION= 10
CATEGORIES= www
MASTER_SITES= SF/gallery/gallery2/${PORTVERSION}
DISTNAME= gallery-${PORTVERSION}-full
DIST_SUBDIR= gallery2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Web based photo album organizer written in PHP
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:web
USE_PHP= pcre session
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/gallery2
OPTIONS_DEFINE= DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD NETPBM NLS
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFAULT=IMAGEMAGICK JHEAD MYSQL
DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw
FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg
GD_RUN_DEPENDS= pngtogd:graphics/gd
GD_USE= PHP=gd
GRAPHMAGICK_RUN_DEPENDS=gm:graphics/GraphicsMagick
IMAGEMAGICK_USES= magick:6,run
JHEAD_RUN_DEPENDS= jhead:graphics/jhead
MYSQL_USE= PHP=mysqli
NETPBM_RUN_DEPENDS= giftopnm:graphics/netpbm
NLS_USE= PHP=gettext
NLS_USES= gettext
PGSQL_USE= PHP=pgsql
do-install:
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>
|