2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/11/17 08:05:12 espie Exp $
|
2009-04-19 07:14:41 -04:00
|
|
|
|
|
|
|
COMMENT = identify control points from groups of overlapping images
|
|
|
|
|
2009-10-26 13:42:42 -04:00
|
|
|
DISTNAME = autopano-sift-C-2.5.1
|
|
|
|
PKGNAME = ${DISTNAME:L}
|
2009-04-19 07:14:41 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-11-09 04:14:31 -05:00
|
|
|
WANTLIB += c m stdc++ z jpeg pano13 png tiff xml2
|
2009-04-19 07:14:41 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hugin/}
|
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS = graphics/jpeg \
|
|
|
|
graphics/libpano13 \
|
|
|
|
graphics/png \
|
|
|
|
graphics/tiff \
|
|
|
|
textproc/libxml
|
2009-04-19 07:14:41 -04:00
|
|
|
|
|
|
|
MODULES += devel/cmake
|
|
|
|
CONFIGURE_STYLE = cmake
|
2010-11-09 04:14:31 -05:00
|
|
|
USE_GROFF = Yes
|
2009-04-19 07:14:41 -04:00
|
|
|
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
2009-05-27 08:59:45 -04:00
|
|
|
# dos line-endings in file needing patch
|
|
|
|
post-extract:
|
2010-11-09 04:14:31 -05:00
|
|
|
@cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt APSCpp/APSCpp.c
|
2009-05-27 08:59:45 -04:00
|
|
|
|
2009-04-19 07:14:41 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|