summaryrefslogtreecommitdiff
path: root/graphics/libpano13/Makefile
blob: 18db596671dc70b2dcd76d1c05bc00d18dc8c180 (plain)
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
34
35
36
PORTNAME=	libpano13
DISTVERSION=	2.9.21
PORTREVISION=	4
CATEGORIES=	graphics java
MASTER_SITES=	SF/panotools/${PORTNAME}/${PORTNAME}-${DISTVERSION}

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	Cross-platform library behind Panorama Tools and other photo stitchers
WWW=		http://panotools.sourceforge.net/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpng.so:graphics/png \
		libtiff.so:graphics/tiff

USES=		cmake:testing cpe jpeg libtool pathfix perl5 pkgconfig
CPE_VENDOR=	${PORTNAME}_project
USE_LDCONFIG=	yes
USE_PERL5=	build	# for pod2man

WRKSRC=		${WRKDIR}/libpano13-${DISTVERSION}

OPTIONS_DEFINE=	DOCS JAVA SUITESPARSE
OPTIONS_DEFAULT=	SUITESPARSE
SUITESPARSE_DESC=	Use math/suitesparse for faster operation
OPTIONS_SUB=	yes
JAVA_USE=	java=yes
JAVA_CMAKE_BOOL=	SUPPORT_JAVA_PROGRAMS
JAVA_VARS=	JAVA_OS=native
SUITESPARSE_LIB_DEPENDS= \
		libcholmod.so:math/suitesparse-cholmod \
		libspqr.so:math/suitesparse-spqr
SUITESPARSE_CMAKE_BOOL=	USE_SPARSE_LEVMAR

.include <bsd.port.mk>