aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Calc-Units/Makefile
blob: e001c039e448382bca969c9e4b5c536852ea121d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# New ports collection makefile for:    Math::Calc::Units
# Date created:             25 Jan 2002
# Whom:                 Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#

PORTNAME=   Math-Calc-Units
PORTVERSION=    1.02
CATEGORIES= math perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX=  p5-

MAINTAINER= svenasse@polaris.ca
COMMENT=    Human-readable unit-aware calculator

PERL_CONFIGURE= yes

MAN3=       Math::Calc::Units.3

.include <bsd.port.mk>
cgi examples/make_links.pl \ examples/monty.cgi examples/multiple_forms.cgi \ examples/nph-clock.cgi examples/nph-multipart.cgi \ examples/popup.cgi examples/save_state.cgi \ examples/tryit.cgi examples/wilogo.gif post-patch: @${REINPLACE_CMD} -e '/require 5\.6/d; /INSTALLDIRS/d' ${WRKSRC}/Makefile.PL post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>