aboutsummaryrefslogtreecommitdiffstats
path: root/science/p5-Physics-Unit/Makefile
blob: ebaeee249833316d107628430895a3630f8dae65 (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
# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$

PORTNAME=   Physics-Unit
PORTVERSION=    0.53
CATEGORIES= science perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= culot@FreeBSD.org
COMMENT=    Manipulate Physics units and dimensions

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

USES=       perl5
USE_PERL5=  modbuild

MAN1=       physics-unit.1
MAN3=       Physics::Unit.3 \
        Physics::Unit::Implementation.3 \
        Physics::Unit::Scalar.3 \
        Physics::Unit::Scalar::Implementation.3 \
        Physics::Unit::UnitsByName.3 \
        Physics::Unit::UnitsByType.3

post-install:
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    (cd ${WRKSRC}/eg/ && ${COPYTREE_SHARE} '*.pl' ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>