2013-05-07 15:12:31 +02:00
|
|
|
# Created by: 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
|
2014-01-06 15:35:06 +01:00
|
|
|
PORTVERSION= 2.03p24
|
|
|
|
DISTVERSION= 2.03pre24
|
2004-05-27 02:02:49 +02:00
|
|
|
PORTEPOCH= 1
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= www graphics
|
2012-07-24 14:51:59 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}-beta/${DISTVERSION}
|
1998-09-01 12:39:42 +02:00
|
|
|
|
2011-08-30 09:57:26 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
|
1998-05-20 01:09:47 +02:00
|
|
|
|
2012-04-07 08:11:06 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-12-11 21:54:22 +01:00
|
|
|
LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick
|
2012-11-27 11:09:05 +01:00
|
|
|
RUN_DEPENDS= p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
|
2001-08-09 05:31:18 +02:00
|
|
|
|
2013-08-03 09:52:55 +02:00
|
|
|
USES= shebangfix perl5
|
2012-04-07 08:11:06 +02:00
|
|
|
USE_AUTOTOOLS= autoconf aclocal automake
|
|
|
|
AUTOMAKE_ARGS+= --add-missing
|
2005-12-06 23:51:17 +01:00
|
|
|
INFO= webmagick
|
2001-01-16 18:33:20 +01:00
|
|
|
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}
|
2013-05-07 15:12:31 +02:00
|
|
|
SHEBANG_FILES= utils/aub \
|
|
|
|
utils/aub_hook \
|
|
|
|
utils/help2man \
|
|
|
|
utils/make_dir_index.pl
|
1998-05-20 01:09:47 +02:00
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2007-07-07 23:59:34 +02: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 19:56:05 +02:00
|
|
|
.if !exists(${LOCALBASE}/bin/xlsfonts)
|
2002-09-19 10:36:19 +02:00
|
|
|
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
|
|
|
|
2007-07-07 23:59:34 +02:00
|
|
|
.include <bsd.port.post.mk>
|