Date: Mon, 21 Jul 2014 20:53:56 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362484 - head/www/WebMagick Message-ID: <201407212053.s6LKru8U037225@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Jul 21 20:53:56 2014 New Revision: 362484 URL: http://svnweb.freebsd.org/changeset/ports/362484 QAT: https://qat.redports.org/buildarchive/r362484/ Log: As suggested by ache, actually check for the presence of Image/Magick.pm and only barf if it doesn't exist. Modified: head/www/WebMagick/Makefile Modified: head/www/WebMagick/Makefile ============================================================================== --- head/www/WebMagick/Makefile Mon Jul 21 20:51:34 2014 (r362483) +++ head/www/WebMagick/Makefile Mon Jul 21 20:53:56 2014 (r362484) @@ -38,12 +38,15 @@ X11_BUILD_DEPENDS= xlsfonts:${PORTSDIR}/ X11_RUN_DEPENDS= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts X11_CONFIGURE_ENV_OFF= with_x=no -pre-everything:: - @${ECHO_CMD} - @${ECHO_CMD} ${PORTNAME} requires that ImageMagick be installed with the PERL option enabled. - @${ECHO_CMD} +.include <bsd.port.pre.mk> + +do-configure: + @if [ ! -f ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm ]; then \ + ${ECHO_CMD} ERROR: ImageMagick must be installed with the PERL option enabled; \ + ${FALSE}; \ + fi pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/www/data -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407212053.s6LKru8U037225>