1998-05-19 23:09:47 +00:00
|
|
|
# New ports collection makefile for: WebMagick
|
|
|
|
# Date created: 20 May 1998
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-05-19 23:09:47 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= WebMagick
|
2012-07-23 11:23:37 +00:00
|
|
|
PORTVERSION= 2.03p14
|
2004-05-27 00:02:49 +00:00
|
|
|
PORTEPOCH= 1
|
2001-01-16 17:33:20 +00:00
|
|
|
CATEGORIES= www graphics
|
2012-07-23 11:23:37 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}-beta/2.03pre14
|
|
|
|
DISTNAME= ${PORTNAME}-2.03pre14
|
1998-09-01 10:39:42 +00:00
|
|
|
|
2011-08-30 07:57:26 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
|
1998-05-19 23:09:47 +00:00
|
|
|
|
2012-04-07 06:11:06 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2011-10-11 07:17:46 +00:00
|
|
|
LIB_DEPENDS= MagickWand.5:${PORTSDIR}/graphics/ImageMagick
|
2001-08-09 03:31:18 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
USE_PERL5= yes
|
2012-04-07 06:11:06 +00:00
|
|
|
USE_AUTOTOOLS= autoconf aclocal automake
|
|
|
|
AUTOMAKE_ARGS+= --add-missing
|
2005-12-06 22:51:17 +00:00
|
|
|
INFO= webmagick
|
2001-01-16 17:33:20 +00:00
|
|
|
CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
|
1998-05-19 23:09:47 +00:00
|
|
|
webmagick_cv_iconpath=webmagick \
|
|
|
|
webmagick_cv_prefixpath="" \
|
|
|
|
webmagick_cv_htimage="" \
|
1998-06-14 23:55:35 +00:00
|
|
|
webmagick_cv_maptype=ncsa \
|
1998-10-07 10:15:19 +00:00
|
|
|
PERL=${PERL}
|
1998-05-19 23:09:47 +00:00
|
|
|
|
2007-07-07 21:59:34 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
.if !exists(${LOCALBASE}/bin/xlsfonts)
|
2002-09-19 08:36:19 +00:00
|
|
|
WITHOUT_X11= yes
|
|
|
|
.endif
|
|
|
|
|
2002-08-29 19:13:22 +00:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ENV+=with_x=no
|
|
|
|
.endif
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAN1= webmagick.1
|
1999-02-21 20:30:19 +00:00
|
|
|
|
1998-12-02 06:20:35 +00:00
|
|
|
pre-install:
|
2001-01-16 17:33:20 +00:00
|
|
|
@${MKDIR} ${PREFIX}/www/data
|
1998-12-02 06:20:35 +00:00
|
|
|
|
1998-05-19 23:09:47 +00:00
|
|
|
post-install:
|
2001-01-16 17:33:20 +00:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
if [ ! -f ${PREFIX}/etc/webmagickrc ] ; then \
|
|
|
|
${INSTALL_DATA} webmagickrc ${PREFIX}/etc; \
|
|
|
|
fi; \
|
|
|
|
${INSTALL_DATA} webmagickrc ${PREFIX}/etc/webmagickrc.dist
|
1998-05-19 23:09:47 +00:00
|
|
|
|
2007-07-07 21:59:34 +00:00
|
|
|
.include <bsd.port.post.mk>
|