Index: head/www/coppermine/Makefile =================================================================== --- head/www/coppermine/Makefile (revision 508303) +++ head/www/coppermine/Makefile (revision 508304) @@ -1,52 +1,47 @@ # $FreeBSD$ PORTNAME= coppermine PORTVERSION= 1.6.06 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= danilo@FreeBSD.org COMMENT= Web picture gallery script LICENSE= GPLv3 USES= php OPTIONS_DEFINE= DOCS IMAGEMAGICK IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension -IMAGEMAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick6 +IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 +IMAGEMAGICK_USE_OFF= PHP=gd USE_PHP= ctype hash json mysqli pcre xml USE_GITHUB= yes GH_ACCOUNT= coppermine-gallery GH_PROJECT= cpg1.6.x NO_BUILD= yes NO_ARCH= yes PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt -SUB_FILES+= pkg-message - -.include - -.if empty(PORT_OPTIONS:MIMAGEMAGICK) -USE_PHP+= gd -.endif +SUB_FILES= pkg-message 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} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install: cd ${WRKSRC}/ && ${RM} ${PORTDOCS} cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include Index: head/www/coppermine/pkg-descr =================================================================== --- head/www/coppermine/pkg-descr (revision 508303) +++ head/www/coppermine/pkg-descr (revision 508304) @@ -1,16 +1,16 @@ Coppermine Photo Gallery is a picture gallery script. Users can upload pictures with a web browser (thumbnails are created on the fly), rate pictures, add comments and send e-cards. The admins can manage the galleries and batch add pictures that have been uploaded on the server by FTP. Images are stored in albums and albums can be grouped by categories. The script supports multiple users and each user can possibly have its own set of albums. The script also supports multiple languages and has a theme system. It uses PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick to make the thumbnails. An install script makes the installation fast and simple. -WWW: http://coppermine-gallery.net/ +WWW: https://coppermine-gallery.net/