freebsd-ports/www/coppermine/Makefile
Torsten Zuehlsdorff 139816a064 Add missing IGNORE_WITH_PHP for various PHP based ports.
In preparation of changing the PHP default version from 5.6
to 7.0 i found a number of ports not building with the new version
and all later versions.

Therefore i set IGNORE_WITH_PHP and notice all maintainer about
the change.

Approved by: portmgr (blanket)
2017-12-16 21:44:09 +00:00

52 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= coppermine
PORTVERSION= 1.5.46
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/Coppermine/1.5.x/
DISTNAME= cpg${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Web picture gallery script
LICENSE= GPLv3
IGNORE_WITH_PHP= 70 71 72
OPTIONS_DEFINE= DOCS IMAGEMAGICK
IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension
IMAGEMAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick
USE_PHP= mysql pcre ctype
USES= php zip
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/cpg${PORTVERSION:R:R}${PORTVERSION:R:E}x
DOCFILES= CHANGELOG.txt COPYING.txt README.txt
SUB_FILES+= pkg-message
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MIMAGEMAGICK)
USE_PHP+= gd
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "By default, coppermine depends on PHP with GD support."
@${ECHO_MSG} "You may select IMAGEMAGICK to depend on ImageMagick instead of GD."
@${ECHO_MSG} ""
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
do-install:
cd ${WRKSRC}/ && ${RM} ${DOCFILES}
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>