1998-05-20 01:09:47 +02:00
|
|
|
# New ports collection makefile for: WebMagick
|
|
|
|
# Date created: 20 May 1998
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1998-05-20 01:09:47 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= WebMagick
|
2002-10-23 23:32:40 +02:00
|
|
|
PORTVERSION= 2.03p3
|
2003-01-30 13:07:49 +01:00
|
|
|
PORTREVISION= 3
|
2003-01-02 19:57:23 +01:00
|
|
|
PORTEPOCH= 1
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= www graphics
|
2001-08-09 05:31:18 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= webmagick
|
2002-10-23 23:32:40 +02:00
|
|
|
DISTNAME= ${PORTNAME}-2.03pre3
|
1998-09-01 12:39:42 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAINTAINER= ache@freebsd.org
|
1998-05-20 01:09:47 +02:00
|
|
|
|
2001-08-09 05:31:18 +02:00
|
|
|
LIB_DEPENDS= Magick.5:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_PERL5= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
|
1998-05-20 01:09:47 +02:00
|
|
|
webmagick_cv_iconpath=webmagick \
|
|
|
|
webmagick_cv_prefixpath="" \
|
|
|
|
webmagick_cv_htimage="" \
|
1998-06-15 01:55:35 +02:00
|
|
|
webmagick_cv_maptype=ncsa \
|
1998-10-07 12:15:19 +02:00
|
|
|
PERL=${PERL}
|
1998-05-20 01:09:47 +02:00
|
|
|
|
2002-09-19 10:36:19 +02:00
|
|
|
.if !exists(${X11BASE}/bin/xlsfonts)
|
|
|
|
WITHOUT_X11= yes
|
|
|
|
.endif
|
|
|
|
|
2002-08-29 21:13:22 +02:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ENV+=with_x=no
|
|
|
|
.endif
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAN1= webmagick.1
|
1999-02-21 21:30:19 +01:00
|
|
|
|
1998-12-02 07:20:35 +01:00
|
|
|
pre-install:
|
2001-01-16 18:33:20 +01:00
|
|
|
@${MKDIR} ${PREFIX}/www/data
|
1998-12-02 07:20:35 +01:00
|
|
|
|
1998-05-20 01:09:47 +02:00
|
|
|
post-install:
|
2001-01-16 18:33:20 +01:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
if [ ! -f ${PREFIX}/etc/webmagickrc ] ; then \
|
|
|
|
${INSTALL_DATA} webmagickrc ${PREFIX}/etc; \
|
|
|
|
fi; \
|
|
|
|
${INSTALL_DATA} webmagickrc ${PREFIX}/etc/webmagickrc.dist
|
1998-05-20 01:09:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|