View | Details | Raw Unified | Return to bug 268833 | Differences between
and this patch

Collapse All | Expand All

(-)ports/www/wordpress/Makefile (-9 / +1 lines)
Lines 17-23 Link Here
17
LICENSE=	GPLv2+
17
LICENSE=	GPLv2+
18
LICENSE_FILE=	${WRKSRC}/license.txt
18
LICENSE_FILE=	${WRKSRC}/license.txt
19
19
20
RUN_DEPENDS=	${IMAGEMAGICK_DEPENDS}
20
RUN_DEPENDS=	${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR}
21
21
22
USES=		cpe php:web
22
USES=		cpe php:web
23
.if ${DISTVERSION:N*.*.*}
23
.if ${DISTVERSION:N*.*.*}
Lines 40-53 Link Here
40
OPTIONS_DEFINE=	DOCS
40
OPTIONS_DEFINE=	DOCS
41
41
42
.include <bsd.port.options.mk>
42
.include <bsd.port.options.mk>
43
44
.if !empty(IMAGEMAGICK_DEFAULT:M6) || !empty(IMAGEMAGICK_DEFAULT:M6-*)
45
IMAGEMAGICK_DEPENDS=	${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR}
46
.elif !empty(IMAGEMAGICK_DEFAULT:M7) || !empty(IMAGEMAGICK_DEFAULT:M7-*)
47
IMAGEMAGICK_DEPENDS=	${PECL_PKGNAMEPREFIX}imagick-im7>=2.2.2:graphics/pecl-imagick-im7@${PHP_FLAVOR}
48
.else
49
# notreached
50
.endif
51
43
52
pre-everything::
44
pre-everything::
53
	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
45
	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."

Return to bug 268833