blob: b451f739ee169ef380892f2698f4d31bc632a49e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: WebMagick
# Date created: 20 May 1998
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= WebMagick
PORTVERSION= 2.03p5
PORTEPOCH= 1
CATEGORIES= www graphics
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}-beta/2.03pre5
DISTNAME= ${PORTNAME}-2.03pre5
MAINTAINER= ports@FreeBSD.org
COMMENT= Image Web Generator - recursively build HTMLs, imagemaps, thumbnails
LICENSE= GPLv2
LIB_DEPENDS= MagickWand.5:${PORTSDIR}/graphics/ImageMagick
USE_PERL5= yes
USE_AUTOTOOLS= autoconf aclocal automake
AUTOMAKE_ARGS+= --add-missing
INFO= webmagick
CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \
webmagick_cv_iconpath=webmagick \
webmagick_cv_prefixpath="" \
webmagick_cv_htimage="" \
webmagick_cv_maptype=ncsa \
PERL=${PERL}
.include <bsd.port.pre.mk>
.if !exists(${LOCALBASE}/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.post.mk>
|