- SEPARATE_BUILD works for this (and should for most CMake projects),

use it, it's preferable.

- PERMIT_*_CDROM=Yes, the deghosting code has been replaced since then

- don't automatically RUN_DEPENDS on autopano-sift-c; add an install
message instead. Although it's a timesaver, hugin can work well without
this, and it's still subject to a USA patent, so don't force it.

bump PKGNAME.
This commit is contained in:
sthen 2010-06-10 08:24:49 +00:00
parent b8df9764b4
commit 63ddd4217b
2 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2010/06/07 20:36:33 edd Exp $
# $OpenBSD: Makefile,v 1.18 2010/06/10 08:24:49 sthen Exp $
VMEM_WARNING = Yes
@ -6,7 +6,7 @@ COMMENT = panorama image stitcher
DISTNAME = hugin-2010.0.0
PKGNAME = ${DISTNAME:S/_//:L}p0
PKGNAME = ${DISTNAME:S/_//:L}p1
WRKDIST = ${WRKDIR}/${DISTNAME:C/_.*//}
SHARED_LIBS = celeste 0.0 \
@ -22,11 +22,9 @@ 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_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =patents
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = GL GLU ICE SM X11 Xext Xi Xmu c m pthread stdc++ z
@ -52,6 +50,7 @@ LIB_DEPENDS = boost_thread-mt::devel/boost \
USE_X11= Yes
MODULES += devel/cmake
SEPARATE_BUILD = simple
CONFIGURE_STYLE = cmake
CONFIGURE_ENV = MANDIR=man
NO_REGRESS = Yes

View File

@ -0,0 +1,6 @@
You may optionally install autopano-sift-C to automatically detect
similar image features and generate control points. As autopano-sift-C
uses the SIFT algorithm, which is patented in the USA, this is not
automatically installed as a dependency.
Either "pkg_add autopano-sift-c" or select these manually.