5c008745e3
prodded by espie@ discussed with espie@ sthen@ landry@
64 lines
1.7 KiB
Makefile
64 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2009/12/22 16:06:41 ajacoutot Exp $
|
|
|
|
COMMENT = panorama image stitcher
|
|
|
|
DISTNAME = hugin-0.8.0
|
|
PKGNAME= ${DISTNAME}p1
|
|
#PKGNAME = ${DISTNAME:S/_//}
|
|
#WRKDIST = ${WRKDIR}/${DISTNAME:C/_.*//}
|
|
|
|
SHARED_LIBS = celeste 0.0 \
|
|
huginANN 0.0 \
|
|
huginbase 1.0 \
|
|
huginjhead 0.0 \
|
|
huginvigraimpex 0.0
|
|
|
|
CATEGORIES = graphics x11
|
|
|
|
HOMEPAGE = http://hugin.sourceforge.net/
|
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2+
|
|
# see post at http://permalink.gmane.org/gmane.comp.misc.ptx/15757
|
|
# (http://www.faqs.org/patents/app/20080267494 in the deghosting code)
|
|
PERMIT_PACKAGE_CDROM = patents
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =patents
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = GL GLU ICE SM X11 Xext c m pthread pthread-stubs xcb \
|
|
stdc++ z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hugin/}
|
|
|
|
RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils \
|
|
::graphics/autopano-sift-c \
|
|
::graphics/enblend-enfuse \
|
|
::graphics/p5-Image-ExifTool
|
|
LIB_DEPENDS = boost_thread-mt::devel/boost \
|
|
exiv2.>=0.1:exiv2->=0.12:graphics/exiv2 \
|
|
GLEW::graphics/glew \
|
|
Half,Iex,Imath,IlmThread::graphics/ilmbase \
|
|
jpeg::graphics/jpeg \
|
|
pano13::graphics/libpano13 \
|
|
IlmImf::graphics/openexr \
|
|
png::graphics/png \
|
|
tiff::graphics/tiff \
|
|
wx_base,wx_base_net,wx_base_xml,wx_gtk2_adv,wx_gtk2_core,wx_gtk2_gl,wx_gtk2_html,wx_gtk2_xrc::x11/wxWidgets
|
|
|
|
USE_X11= Yes
|
|
MODULES += devel/cmake
|
|
CONFIGURE_STYLE = cmake
|
|
NO_REGRESS = Yes
|
|
CFLAGS += -pthread
|
|
|
|
pre-patch:
|
|
find ${WRKSRC} -name '*.orig' | xargs rm
|
|
cd ${WRKSRC}/CMakeModules; perl -i -pe 's/\r$$//' `find . -type f`
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake
|
|
|
|
.include <bsd.port.mk>
|