=================================================================== RCS file: /cvs/ports/graphics/luminance/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.7 diff -u -r1.1 -r1.7 --- ports/graphics/luminance/Attic/Makefile 2010/08/18 22:18:53 1.1 +++ ports/graphics/luminance/Attic/Makefile 2011/10/30 14:08:05 1.7 @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2010/08/18 21:18:53 yason Exp $ +# $OpenBSD: Makefile,v 1.7 2011/10/30 14:08:05 yason Exp $ COMMENT = application that aims to provide a workflow for HDR imaging -DISTNAME = luminance-hdr_2.0.0 -PKGNAME = ${DISTNAME:S/_/-/} +V = 2.1.0 +DISTNAME = luminance-hdr-${V} +PKGNAME = ${DISTNAME:S/-hdr//} CATEGORIES = graphics @@ -16,26 +17,25 @@ 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 -USE_X11 = Yes +CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_EXE_LINKER_FLAGS=-pthread +SEPARATE_BUILD = simple NO_REGRESS = Yes - -do-build: - cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake4 PREFIX=${PREFIX} .include