aboutsummaryrefslogtreecommitdiff
path: root/graphics/autopano-sift-c/Makefile
blob: 52f2ee146ffe7ce71e0d8ba9254ad7c1d5bfaf3d (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
34
35
PORTNAME=	autopano-sift-C
PORTVERSION=	2.5.1
PORTREVISION=	10
CATEGORIES=	graphics
MASTER_SITES=	SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Automatic panorama control point generation tool, C port
WWW=		http://hugin.sourceforge.net/docs/manual/Autopano-sift-C.html

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

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

CONFLICTS=	autopano-sift

USES=		cmake gnome jpeg
USE_CXXSTD=	c++14
USE_GNOME=	libxml2

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e '/set(all_libs/s/$$/ m/' ${WRKSRC}/CMakeLists.txt

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.1ST ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>