openbsd-ports/graphics/autopano-sift-c/Makefile
2010-11-17 08:05:12 +00:00

44 lines
980 B
Makefile

# $OpenBSD: Makefile,v 1.8 2010/11/17 08:05:12 espie Exp $
COMMENT = identify control points from groups of overlapping images
DISTNAME = autopano-sift-C-2.5.1
PKGNAME = ${DISTNAME:L}
CATEGORIES = graphics
HOMEPAGE = http://hugin.sourceforge.net/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = US patent, see README
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =US patent, see README
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c m stdc++ z jpeg pano13 png tiff xml2
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hugin/}
LIB_DEPENDS = graphics/jpeg \
graphics/libpano13 \
graphics/png \
graphics/tiff \
textproc/libxml
MODULES += devel/cmake
CONFIGURE_STYLE = cmake
USE_GROFF = Yes
NO_REGRESS = Yes
# dos line-endings in file needing patch
post-extract:
@cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt APSCpp/APSCpp.c
pre-configure:
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake
.include <bsd.port.mk>