aboutsummaryrefslogtreecommitdiffstats
path: root/www/WebMagick/Makefile
blob: 5d348965c32b1c0180260b12c9c227e3a4978e79 (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.3 1998/06/14 23:55:35 mph Exp $
#

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

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

RUN_DEPENDS=    ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/auto/Image/Magick/Magick.so:${PORTSDIR}/graphics/p5-PerlMagick

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>