mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
cf906e5cf2
Use USES=compiler:openmp for the OPENMP option[2] Ditch the use of perl for patching etc [4] and silence perl threaded check [6] -delay option spurious message should be fixed [5] JASPER option was replace by JPEG2000 for JP2k support. Put 16BIT_PIXEL and HDRI option separate option block. These options change the library name, so the user needs to take this into consideration. Use new LIB_DEPENDS syntax. Use @sample for config files. Sprinkle some USES=pkgconfig for some ports, since we don't pull it in anymore at run-time. PR: 185462 [1] PR: 187548 [2] PR: 182793 [3] PR: 181746 [4] PR: 176047 [5] PR: 190814 [6] Submitted by: c.petrik.sosa@gmail.com [1] Matthieu Volat <mazhe@alkumuna.eu> [2] free.bsd@webstyle.ch [3] andrnils@gmail.com [4] rfg@tristatelogic.com [5] Michelle Sullivan <michelle@sorbs.net> [6] Approved by: portmgr (blanket) (for NO_STAGED ports)
29 lines
648 B
Makefile
29 lines
648 B
Makefile
# Created by: <mark@goodstorm.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= magickwand
|
|
PORTVERSION= 1.0.9
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.magickwand.org/download/php/
|
|
PKGNAMEPREFIX= php-
|
|
DISTNAME= MagickWandForPHP-${PORTVERSION}
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= PHP extension to manipulate images
|
|
|
|
LIB_DEPENDS= libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
USES= pkgconfig
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
|
|
CONFIGURE_ARGS= --with-magickwand=${LOCALBASE}
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|-lMagickWand|-lMagickWand-6.Q16|g' \
|
|
-e 's|-lMagickCore|-lMagickCore-6.Q16|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|