aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-08-07 09:02:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-08-07 09:02:28 +0000
commit048f1c78ad2aa976de7228a2a40b620419bb246d (patch)
tree305334a2199b2f3e3c94882583114e564fe74572
parent0d47950996e462531c34b0a983e6a1a94c63d0a3 (diff)
Notes
-rw-r--r--www/coppermine/Makefile11
-rw-r--r--www/coppermine/pkg-descr2
2 files changed, 4 insertions, 9 deletions
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile
index 9685867e0fbe..4ae6546c1cad 100644
--- a/www/coppermine/Makefile
+++ b/www/coppermine/Makefile
@@ -15,7 +15,8 @@ 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
@@ -27,13 +28,7 @@ NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt
-SUB_FILES+= pkg-message
-
-.include <bsd.port.options.mk>
-
-.if empty(PORT_OPTIONS:MIMAGEMAGICK)
-USE_PHP+= gd
-.endif
+SUB_FILES= pkg-message
pre-everything::
@${ECHO_MSG} ""
diff --git a/www/coppermine/pkg-descr b/www/coppermine/pkg-descr
index 57052a9fd512..e3a1e85361f4 100644
--- a/www/coppermine/pkg-descr
+++ b/www/coppermine/pkg-descr
@@ -13,4 +13,4 @@ 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/