freebsd-ports/www/gallery2/Makefile
Jan Beich 84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Alex Varju <freebsd-ports@varju.ca>
# $FreeBSD$
PORTNAME= gallery2
PORTVERSION= 2.3.2
PORTREVISION= 6
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
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD NETPBM NLS
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFAULT=IMAGEMAGICK JHEAD MYSQL
NO_ARCH= yes
NO_BUILD= yes
USES= php:web
USE_PHP= pcre session
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
GD_RUN_DEPENDS= pngtogd:graphics/gd
GD_USE= PHP=gd
GRAPHMAGICK_RUN_DEPENDS=gm:graphics/GraphicsMagick
IMAGEMAGICK_RUN_DEPENDS=convert:graphics/ImageMagick
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>