aboutsummaryrefslogtreecommitdiffstats
path: root/www/coppermine/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2019-08-07 17:02:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2019-08-07 17:02:28 +0800
commitcb709217ed6da1de5e56148a572b31fb0df024ff (patch)
tree305334a2199b2f3e3c94882583114e564fe74572 /www/coppermine/Makefile
parent1a83a01cf3a8e234375bd7b03f6bb0ab93e10fe4 (diff)
downloadfreebsd-ports-gnome-cb709217ed6da1de5e56148a572b31fb0df024ff.tar.gz
freebsd-ports-gnome-cb709217ed6da1de5e56148a572b31fb0df024ff.tar.zst
freebsd-ports-gnome-cb709217ed6da1de5e56148a572b31fb0df024ff.zip
- Switch to options helpers
- Update WWW Approved by: portmgr blanket
Diffstat (limited to 'www/coppermine/Makefile')
-rw-r--r--www/coppermine/Makefile11
1 files changed, 3 insertions, 8 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} ""