aboutsummaryrefslogtreecommitdiffstats
path: root/www/WebMagick/Makefile
blob: 363a1cc0ade02ad9f3938cba1eacc0df06246ddf (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
# New ports collection makefile for:    WebMagick
# http://www.cyberramp.net/~bfriesen/webmagick/
# Version required:                     1.44
# Date created:                         20 May 1998
# Whom:                                 ache
#
# $Id: Makefile,v 1.5 1998/09/01 06:22:49 asami Exp $
#

DISTNAME=       WebMagick-1.44
CATEGORIES=     www
MASTER_SITES=   http://www.cyberramp.net/~bfriesen/webmagick/dist/

LIB_DEPENDS=    Magick\\.:${PORTSDIR}/graphics/ImageMagick

MAINTAINER=     ache@freebsd.org

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=${PREFIX}/bin/perl

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.mk>