f6d56007b9
While there, cleanup, and sort depends.
When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are:
1) use RUN_DEPENDS to set BUILD_DEPENDS:
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= foo:bar/baz
2) create another variable and use it:
MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:
BUILD_DEPENDS= foo:bar/baz
RUN_DEPENDS:= ${BUILD_DEPENDS}
Sponsored by: Absolight
34 lines
1.4 KiB
Makefile
34 lines
1.4 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Task-Math-Symbolic
|
|
PORTVERSION= 1.01
|
|
PORTREVISION= 1
|
|
CATEGORIES= math perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:SMUELLER
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Math::Symbolic with lots of plugins
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Math-Symbolic>=0.163:math/p5-Math-Symbolic \
|
|
p5-Math-Symbolic-Custom-CCompiler>=0:math/p5-Math-Symbolic-Custom-CCompiler \
|
|
p5-Math-Symbolic-Custom-Contains>=0:math/p5-Math-Symbolic-Custom-Contains \
|
|
p5-Math-Symbolic-Custom-ErrorPropagation>=0:math/p5-Math-Symbolic-Custom-ErrorPropagation \
|
|
p5-Math-Symbolic-Custom-Pattern>=0:math/p5-Math-Symbolic-Custom-Pattern \
|
|
p5-Math-Symbolic-Custom-Simplification>=0:math/p5-Math-Symbolic-Custom-Simplification \
|
|
p5-Math-Symbolic-Custom-Transformation>=0:math/p5-Math-Symbolic-Custom-Transformation \
|
|
p5-Math-SymbolicX-BigNum>=0:math/p5-Math-SymbolicX-BigNum \
|
|
p5-Math-SymbolicX-Complex>=0:math/p5-Math-SymbolicX-Complex \
|
|
p5-Math-SymbolicX-Inline>=0:math/p5-Math-SymbolicX-Inline \
|
|
p5-Math-SymbolicX-NoSimplification>=0:math/p5-Math-SymbolicX-NoSimplification \
|
|
p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory \
|
|
p5-Math-SymbolicX-Statistics-Distributions>=0:math/p5-Math-SymbolicX-Statistics-Distributions
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.mk>
|