aboutsummaryrefslogtreecommitdiff
path: root/www/WebMagick/Makefile
blob: 9c1c3d6edb20b1f2f25e0d8fcb98635ed210d661 (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
# New ports collection makefile for:    WebMagick
# Date created:                         20 May 1998
# Whom:                                 ache
#
# $FreeBSD$
#

PORTNAME=	WebMagick
PORTVERSION=    2.0
CATEGORIES=	www graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=     webmagick
#DISTNAME=       ${PORTNAME}-2.0pre4

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}

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
	cd ${WRKSRC}/icons; \
		${INSTALL_DATA} blue_help.gif ${PREFIX}/www/data/webmagick/blue_c.gif

.include <bsd.port.mk>