52da13ff00
This version introduces cpfind, a patent-free control point generator (i.e. tool to automatically find matching points between two images for stitching together).
80 lines
2.2 KiB
Makefile
80 lines
2.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.24 2011/03/02 08:30:27 sthen Exp $
|
|
|
|
VMEM_WARNING = Yes
|
|
|
|
COMMENT = panorama image stitcher
|
|
|
|
DISTNAME = hugin-2010.4.0
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
# not needed for releases, but makes RCs/betas easier to work with
|
|
PKGNAME = ${DISTNAME:S/_//:L}
|
|
WRKDIST = ${WRKDIR}/${DISTNAME:C/_.*//}
|
|
|
|
SHARED_LIBS += huginbasewx 0.0
|
|
SHARED_LIBS += celeste 0.0
|
|
SHARED_LIBS += huginANN 0.0
|
|
SHARED_LIBS += huginbase 1.0
|
|
SHARED_LIBS += huginvigraimpex 0.0
|
|
SHARED_LIBS += icpfindlib 0.0
|
|
SHARED_LIBS += localfeatures 0.0
|
|
SHARED_LIBS += makefilelib 0.0
|
|
|
|
CATEGORIES = graphics x11
|
|
|
|
HOMEPAGE = http://hugin.sourceforge.net/
|
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += GL GLEW GLU Half Iex Imath IlmImf IlmThread ICE SM X11
|
|
WANTLIB += Xext Xi Xmu boost_date_time-mt boost_filesystem-mt
|
|
WANTLIB += boost_iostreams-mt boost_regex-mt boost_signals-mt
|
|
WANTLIB += boost_system-mt boost_thread-mt c
|
|
WANTLIB += exiv2 glut>=4.1 jpeg m pano13>=2.0 png pthread
|
|
WANTLIB += stdc++ tiff wx_base wx_base_net wx_base_xml wx_gtk2_adv
|
|
WANTLIB += wx_gtk2_core wx_gtk2_gl wx_gtk2_html wx_gtk2_xrc z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hugin/}
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
graphics/enblend-enfuse \
|
|
graphics/p5-Image-ExifTool \
|
|
devel/gmake # yes, really a RUN_DEPENDS
|
|
LIB_DEPENDS = devel/boost \
|
|
graphics/exiv2>=0.12 \
|
|
graphics/glew \
|
|
graphics/freeglut \
|
|
graphics/ilmbase \
|
|
graphics/jpeg \
|
|
graphics/libpano13>=2.9.17rc1 \
|
|
graphics/openexr \
|
|
graphics/png \
|
|
graphics/tiff \
|
|
x11/wxWidgets
|
|
|
|
USE_GROFF = Yes
|
|
MODULES += devel/cmake
|
|
SEPARATE_BUILD = simple
|
|
CONFIGURE_STYLE = cmake
|
|
CONFIGURE_ENV = MANDIR=man
|
|
NO_REGRESS = Yes
|
|
CFLAGS += -pthread
|
|
LDFLAGS += -L${X11BASE}/lib
|
|
|
|
pre-patch:
|
|
find ${WRKSRC} -name '*.orig' | xargs rm
|
|
cd ${WRKSRC}/CMakeModules; perl -i -pe 's/\r$$//' `find . -type f` \
|
|
../src/CMakeLists.txt
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake \
|
|
${WRKSRC}/CMakeModules/FindGLEW.cmake
|
|
|
|
.include <bsd.port.mk>
|