mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
0685b3e969
Note that graphics/GraphicsMagick12 was removed on 2014-05-20 because it is no longer maintained upstream. Detailed/other changes: * graphics/GraphicsMagick : - Copy contents from graphics/GraphicsMagick13 - Remove PORTREVISION and PKGNAMESUFFIX - Keep original pkg-descr, do not copy whitespace-only changes. * graphics/pecl-gmagick : - Use modern LIB_DEPENDS * graphics/vips : - Stage support - Use modern LIB_DEPENDS - USES libtool, pathfix * multimedia/bombono : - Update BUILD_DEPENDS and RUN_DEPENDS * textproc/htmltolatex : - Use modern LIB_DEPENDS Phabric: D108 162 Approved by: portmgr (antoine, bapt)
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Alex Varju <freebsd-ports@varju.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gallery2
|
|
PORTVERSION= 2.3.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/gallery/${PORTNAME}/${PORTVERSION}
|
|
DISTNAME= gallery-${PORTVERSION}-full
|
|
DIST_SUBDIR= gallery2
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Web based photo album organizer written in PHP
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD NETPBM NLS UNZIP
|
|
OPTIONS_SINGLE= BACKEND
|
|
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
|
|
OPTIONS_DEFAULT=IMAGEMAGICK JHEAD MYSQL UNZIP
|
|
|
|
NO_BUILD= yes
|
|
USE_PHP= pcre session
|
|
WANT_PHP_WEB= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
DCRAW_RUN_DEPENDS= ${LOCALBASE}/bin/dcraw:${PORTSDIR}/graphics/dcraw
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
|
|
GD_RUN_DEPENDS= ${LOCALBASE}/bin/pngtogd:${PORTSDIR}/graphics/gd
|
|
GD_USE= PHP=gd
|
|
GRAPHMAGICK_RUN_DEPENDS=${LOCALBASE}/bin/gm:${PORTSDIR}/graphics/GraphicsMagick
|
|
IMAGEMAGICK_RUN_DEPENDS=${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
|
|
JHEAD_RUN_DEPENDS= ${LOCALBASE}/bin/jhead:${PORTSDIR}/graphics/jhead
|
|
MYSQL_USE= PHP=mysql
|
|
NETPBM_RUN_DEPENDS= ${LOCALBASE}/bin/giftopnm:${PORTSDIR}/graphics/netpbm
|
|
NLS_USE= PHP=gettext
|
|
NLS_USES= gettext
|
|
PGSQL_USE= PHP=pgsql
|
|
UNZIP_RUN_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
|
|
|
|
.include <bsd.port.mk>
|