aboutsummaryrefslogtreecommitdiffstats
path: root/www/calamaris/Makefile
blob: c683111a57ceb95850eabc3d30fb9f0abaedbf4a (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
# New ports collection makefile for:    calmaris
# Version required: 2.27
# Date created:         25 December 1998
# Whom:                 Dima Sivachenko
#
# $FreeBSD$
#

DISTNAME=   calamaris-2.27
CATEGORIES= www textproc
MASTER_SITES=   http://calamaris.cord.de/ \
        ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/

MAINTAINER= dima@Chg.RU

USE_PERL5=  yes
NO_BUILD=   yes
MAN1=       calamaris.1

post-patch:
    @ ${MV} ${WRKSRC}/calamaris ${WRKSRC}/calamaris.pre_sed
    @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/calamaris.pre_sed \
    > ${WRKSRC}/calamaris

do-install:
    @ ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1/calamaris.1
    @ ${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin/calamaris

.include <bsd.port.mk>