=================================================================== RCS file: /cvs/ports/graphics/luminance/Attic/Makefile,v retrieving revision 1.2 retrieving revision 1.8 diff -u -r1.2 -r1.8 --- ports/graphics/luminance/Attic/Makefile 2010/10/27 05:07:23 1.2 +++ ports/graphics/luminance/Attic/Makefile 2011/11/08 18:34:44 1.8 @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2010/10/27 04:07:23 yason Exp $ +# $OpenBSD: Makefile,v 1.8 2011/11/08 18:34:44 yason Exp $ COMMENT = application that aims to provide a workflow for HDR imaging -DISTNAME = luminance-v2.0.1 -PKGNAME = ${DISTNAME:S/v//} +V = 2.1.0 +DISTNAME = luminance-hdr-${V} +PKGNAME = ${DISTNAME:S/-hdr//} CATEGORIES = graphics @@ -16,24 +17,24 @@ PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = Half Iex IlmImf Imath QtDBus QtGui QtNetwork QtWebKit QtXml QtXmlPatterns \ - c exiv2 fftw3f gsl gslcblas m phonon pthread sqlite3 stdc++ tiff - MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qtpfsgui/} -MODULES = x11/qt4 -RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils -LIB_DEPENDS = ::devel/gsl \ - ::graphics/openexr \ - ::graphics/exiv2 \ - ::graphics/tiff \ - ::math/fftw3,float +WANTLIB += Half Iex IlmImf QtGui QtSql QtWebKit QtXml c exiv2 +WANTLIB += fftw3f gsl gslcblas lcms m pthread raw_r stdc++ tiff -FAKE_FLAGS = INSTALL_ROOT=${WRKINST} +MODULES = devel/cmake x11/qt4 +RUN_DEPENDS = devel/desktop-file-utils \ + x11/qt4,-sqlite +LIB_DEPENDS = devel/gsl \ + graphics/openexr \ + graphics/exiv2 \ + graphics/libraw \ + graphics/tiff \ + math/fftw3,float -NO_REGRESS = Yes +CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_EXE_LINKER_FLAGS=-pthread -do-build: - cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake4 PREFIX=${PREFIX} +NO_REGRESS = Yes .include