Changeset View
Changeset View
Standalone View
Standalone View
graphics/photivo/Makefile
Show All 25 Lines | USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \ | ||||
gettext-runtime gnome jpeg pkgconfig qt:5 zip | gettext-runtime gnome jpeg pkgconfig qt:5 zip | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
USE_QT= qmake_build buildtools_build core gui network widgets | USE_QT= qmake_build buildtools_build core gui network widgets | ||||
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \ | DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \ | ||||
Sources/ptImageHelper.h Sources/ptMainWindow.h | Sources/ptImageHelper.h Sources/ptMainWindow.h | ||||
WRKSRC= ${WRKDIR}/${PORTNAME} | WRKSRC= ${WRKDIR}/${PORTNAME} | ||||
CONFLICTS_INSTALL= ${PORTNAME}-qt4 | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's,#define cimg_use_openmp 1,//&,' \ | @${REINPLACE_CMD} -e 's,#define cimg_use_openmp 1,//&,' \ | ||||
${WRKSRC}/Sources/ptCimg.cpp \ | ${WRKSRC}/Sources/ptCimg.cpp \ | ||||
${WRKSRC}/Sources/ptImage_Pyramid.cpp | ${WRKSRC}/Sources/ptImage_Pyramid.cpp | ||||
@${REINPLACE_CMD} -e '/#include "\.\.\/ptImage\.h"/ \ | @${REINPLACE_CMD} -e '/#include "\.\.\/ptImage\.h"/ \ | ||||
{ x ; s/.*/#include <cmath>/ ; H ; x ; }' \ | { x ; s/.*/#include <cmath>/ ; H ; x ; }' \ | ||||
${WRKSRC}/Sources/filters/ptFilter_EAWavelets.cpp \ | ${WRKSRC}/Sources/filters/ptFilter_EAWavelets.cpp \ | ||||
${WRKSRC}/Sources/filters/ptFilter_FilmGrain.cpp \ | ${WRKSRC}/Sources/filters/ptFilter_FilmGrain.cpp \ | ||||
${WRKSRC}/Sources/filters/ptFilter_HighpassSharpen.cpp \ | ${WRKSRC}/Sources/filters/ptFilter_HighpassSharpen.cpp \ | ||||
${WRKSRC}/Sources/filters/ptFilter_PyramidDenoise.cpp \ | ${WRKSRC}/Sources/filters/ptFilter_PyramidDenoise.cpp \ | ||||
${WRKSRC}/Sources/filters/ptFilter_StdCurve.cpp \ | ${WRKSRC}/Sources/filters/ptFilter_StdCurve.cpp \ | ||||
${WRKSRC}/Sources/filters/ptFilter_WaveletDenoise.cpp | ${WRKSRC}/Sources/filters/ptFilter_WaveletDenoise.cpp | ||||
@${REINPLACE_CMD} -e '/static const char src/s,char,int8_t,' \ | @${REINPLACE_CMD} -e '/static const char src/s,char,int8_t,' \ | ||||
${WRKSRC}/Sources/ptDcRaw.cpp | ${WRKSRC}/Sources/ptDcRaw.cpp | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |