45526ecbee
A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
26 lines
627 B
Makefile
26 lines
627 B
Makefile
# Created by: Aaron Dalton <aaron@FreeBSD.org>
|
|
|
|
PORTNAME= CAD-Drawing
|
|
PORTVERSION= 0.26
|
|
PORTREVISION= 10
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Methods to create, load, and save vector graphics
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-CAD-Calc>=0:math/p5-CAD-Calc \
|
|
p5-Math-Geometry-Planar>=0:math/p5-Math-Geometry-Planar \
|
|
p5-Math-MatrixReal>=0:math/p5-Math-MatrixReal \
|
|
p5-Math-Vec>=0:math/p5-Math-Vec \
|
|
p5-Stream>=0:devel/p5-Stream
|
|
|
|
USES= magick:6,run perl5
|
|
USE_PERL5= modbuild
|
|
|
|
.include <bsd.port.mk>
|