Index: head/graphics/lensfun/Makefile =================================================================== --- head/graphics/lensfun/Makefile (revision 431559) +++ head/graphics/lensfun/Makefile (revision 431560) @@ -1,26 +1,35 @@ # Created by: Denis Barov # $FreeBSD$ PORTNAME= lensfun PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Library for fixing lens geometry distortions LICENSE= LGPL3 LIB_DEPENDS= libpng.so:graphics/png -USES= cmake pathfix pkgconfig +USES= cmake gettext-runtime pathfix pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes -CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DINSTALL_HELPER_SCRIPTS:BOOL=OFF +CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON +MAKE_ENV+= PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= +PLIST_SUB+= PYTHON_SUFFIX=${PYTHON_SUFFIX} -OPTIONS_DEFINE= SIMD -OPTIONS_DEFAULT= SIMD +OPTIONS_DEFINE= SIMD PYHELPERS +OPTIONS_DEFAULT= SIMD PYHELPERS +OPTIONS_SUB= yes +PYHELPERS_DESC= Install database helper scripts (need Python 3) SIMD_CMAKE_OFF= -DBUILD_FOR_SSE:BOOL=OFF -DBUILD_FOR_SSE2:BOOL=OFF + +PYHELPERS_CMAKE_ON= -DSTAGEDIR:STRING=${STAGEDIR} +PYHELPERS_CMAKE_OFF= -DINSTALL_HELPER_SCRIPTS:BOOL=OFF -DPYTHON:STRING=IGNORE +PYHELPERS_USES= python:3 .include Index: head/graphics/lensfun/files/patch-apps_CMakeLists.txt =================================================================== --- head/graphics/lensfun/files/patch-apps_CMakeLists.txt (nonexistent) +++ head/graphics/lensfun/files/patch-apps_CMakeLists.txt (revision 431560) @@ -0,0 +1,9 @@ +--- apps/CMakeLists.txt.orig 2016-12-30 11:49:15 UTC ++++ apps/CMakeLists.txt +@@ -42,5 +42,5 @@ IF(PYTHON) + IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX) + SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + ENDIF() +- INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX})") ++ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=${STAGEDIR})") + ENDIF(PYTHON) Property changes on: head/graphics/lensfun/files/patch-apps_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/lensfun/pkg-plist =================================================================== --- head/graphics/lensfun/pkg-plist (revision 431559) +++ head/graphics/lensfun/pkg-plist (revision 431560) @@ -1,58 +1,64 @@ +%%PYHELPERS%%bin/g-lensfun-update-data +%%PYHELPERS%%bin/lensfun-add-adapter +%%PYHELPERS%%bin/lensfun-update-data include/lensfun/lensfun.h lib/liblensfun.so lib/liblensfun.so.1 lib/liblensfun.so.0.3.2 libdata/pkgconfig/lensfun.pc %%DATADIR%%/version_1/6x6.xml %%DATADIR%%/version_1/actioncams.xml %%DATADIR%%/version_1/compact-canon.xml %%DATADIR%%/version_1/compact-casio.xml %%DATADIR%%/version_1/compact-fujifilm.xml %%DATADIR%%/version_1/compact-kodak.xml %%DATADIR%%/version_1/compact-konica-minolta.xml %%DATADIR%%/version_1/compact-leica.xml %%DATADIR%%/version_1/compact-nikon.xml %%DATADIR%%/version_1/compact-olympus.xml %%DATADIR%%/version_1/compact-panasonic.xml %%DATADIR%%/version_1/compact-pentax.xml %%DATADIR%%/version_1/compact-ricoh.xml %%DATADIR%%/version_1/compact-samsung.xml %%DATADIR%%/version_1/compact-sigma.xml %%DATADIR%%/version_1/compact-sony.xml %%DATADIR%%/version_1/contax.xml %%DATADIR%%/version_1/generic.xml %%DATADIR%%/version_1/mil-canon.xml %%DATADIR%%/version_1/mil-fujifilm.xml %%DATADIR%%/version_1/mil-nikon.xml %%DATADIR%%/version_1/mil-olympus.xml %%DATADIR%%/version_1/mil-panasonic.xml %%DATADIR%%/version_1/mil-pentax.xml %%DATADIR%%/version_1/mil-samsung.xml %%DATADIR%%/version_1/mil-samyang.xml %%DATADIR%%/version_1/mil-sigma.xml %%DATADIR%%/version_1/mil-sony.xml %%DATADIR%%/version_1/mil-tamron.xml %%DATADIR%%/version_1/mil-zeiss.xml %%DATADIR%%/version_1/misc.xml %%DATADIR%%/version_1/rf-leica.xml %%DATADIR%%/version_1/slr-canon.xml %%DATADIR%%/version_1/slr-hasselblad.xml %%DATADIR%%/version_1/slr-konica-minolta.xml %%DATADIR%%/version_1/slr-leica.xml %%DATADIR%%/version_1/slr-nikon.xml %%DATADIR%%/version_1/slr-olympus.xml %%DATADIR%%/version_1/slr-panasonic.xml %%DATADIR%%/version_1/slr-pentax.xml %%DATADIR%%/version_1/slr-ricoh.xml %%DATADIR%%/version_1/slr-samsung.xml %%DATADIR%%/version_1/slr-samyang.xml %%DATADIR%%/version_1/slr-schneider.xml %%DATADIR%%/version_1/slr-sigma.xml %%DATADIR%%/version_1/slr-soligor.xml %%DATADIR%%/version_1/slr-sony.xml %%DATADIR%%/version_1/slr-tamron.xml %%DATADIR%%/version_1/slr-tokina.xml %%DATADIR%%/version_1/slr-ussr.xml %%DATADIR%%/version_1/slr-vivitar.xml %%DATADIR%%/version_1/slr-zeiss.xml %%DATADIR%%/version_1/timestamp.txt +%%PYHELPERS%%%%PYTHON_SITELIBDIR%%/lensfun-0.3.2-py%%PYTHON_VER%%.egg-info +%%PYHELPERS%%%%PYTHON_SITELIBDIR%%/lensfun/__init__.py +%%PYHELPERS%%%%PYTHON_SITELIBDIR%%/lensfun/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc