diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-22 00:45:40 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-22 00:45:40 +0800 |
commit | 5e8fc6ac08bdff357240fa6a90e25b78e3d9124b (patch) | |
tree | 0a07ec1ed25ed2d457a6bac349e3d35d3c7388ad /www | |
parent | b9dba034d7718137105ddf5619344dc565bb4988 (diff) | |
download | freebsd-ports-gnome-5e8fc6ac08bdff357240fa6a90e25b78e3d9124b.tar.gz freebsd-ports-gnome-5e8fc6ac08bdff357240fa6a90e25b78e3d9124b.tar.zst freebsd-ports-gnome-5e8fc6ac08bdff357240fa6a90e25b78e3d9124b.zip |
Turn the wacky X11 check into an OPTION.
This program requires that ImageMagick be built with the PERL option enabled.
I don't know of any way to force this, so package building will be perpetually
broken. I at least added a warning message.
Diffstat (limited to 'www')
-rw-r--r-- | www/WebMagick/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile index f56c5f0569ef..068b2baed70b 100644 --- a/www/WebMagick/Makefile +++ b/www/WebMagick/Makefile @@ -33,17 +33,17 @@ SHEBANG_FILES= utils/aub \ utils/help2man \ utils/make_dir_index.pl -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= X11 +X11_BUILD_DEPENDS= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts +X11_RUN_DEPENDS= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts +X11_CONFIGURE_ENV_OFF= with_x=no -.if !exists(${LOCALBASE}/bin/xlsfonts) -WITHOUT_X11= yes -.endif - -.if defined(WITHOUT_X11) -CONFIGURE_ENV+=with_x=no -.endif +pre-everything:: + @${ECHO_CMD} + @${ECHO_CMD} ${PORTNAME} requires that ImageMagick be installed with the PERL option enabled. + @${ECHO_CMD} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/www/data -.include <bsd.port.post.mk> +.include <bsd.port.mk> |