freebsd-ports/www/WebMagick/Makefile
Andrey A. Chernov 83f0ecb7d7 If not exists ${X11BASE}/bin/xlsfonts, define WITHOUT_X11, so
remove BROKEN state for configure
2002-09-19 08:36:19 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: WebMagick
# Date created: 20 May 1998
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= WebMagick
PORTVERSION= 2.03p1
PORTREVISION= 4
CATEGORIES= www graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webmagick
DISTNAME= ${PORTNAME}-2.03pre1
MAINTAINER= ache@freebsd.org
LIB_DEPENDS= Magick.5:${PORTSDIR}/graphics/ImageMagick
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
webmagick_cv_iconpath=webmagick \
webmagick_cv_prefixpath="" \
webmagick_cv_htimage="" \
webmagick_cv_maptype=ncsa \
PERL=${PERL}
.if !exists(${X11BASE}/bin/xlsfonts)
WITHOUT_X11= yes
.endif
.if defined(WITHOUT_X11)
CONFIGURE_ENV+=with_x=no
.endif
MAN1= webmagick.1
pre-install:
@${MKDIR} ${PREFIX}/www/data
post-install:
cd ${WRKSRC}; \
if [ ! -f ${PREFIX}/etc/webmagickrc ] ; then \
${INSTALL_DATA} webmagickrc ${PREFIX}/etc; \
fi; \
${INSTALL_DATA} webmagickrc ${PREFIX}/etc/webmagickrc.dist
.include <bsd.port.mk>