mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
48 lines
1.7 KiB
Makefile
48 lines
1.7 KiB
Makefile
PORTNAME= photivo
|
|
PORTVERSION= 0.0.2015.03.21
|
|
PORTREVISION= 12
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/${PORTNAME}/
|
|
DISTNAME= source-archive
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Free and open source photo processor
|
|
WWW= https://photivo.org/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
|
|
libexiv2.so:graphics/exiv2 \
|
|
liblqr-1.so:graphics/liblqr-1 \
|
|
liblensfun.so:graphics/lensfun \
|
|
libGraphicsMagick.so:graphics/GraphicsMagick \
|
|
libfftw3.so:math/fftw3
|
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \
|
|
gettext-runtime gnome jpeg pkgconfig qt:5 zip
|
|
USE_GNOME= glib20
|
|
USE_QT= qmake:build buildtools:build core gui network widgets
|
|
DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \
|
|
Sources/ptImageHelper.h Sources/ptMainWindow.h Sources/ptImageHelper.cpp
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,#define cimg_use_openmp 1,//&,' \
|
|
${WRKSRC}/Sources/ptCimg.cpp \
|
|
${WRKSRC}/Sources/ptImage_Pyramid.cpp
|
|
@${REINPLACE_CMD} -e '/#include "\.\.\/ptImage\.h"/ \
|
|
{ x ; s/.*/#include <cmath>/ ; H ; x ; }' \
|
|
${WRKSRC}/Sources/filters/ptFilter_EAWavelets.cpp \
|
|
${WRKSRC}/Sources/filters/ptFilter_FilmGrain.cpp \
|
|
${WRKSRC}/Sources/filters/ptFilter_HighpassSharpen.cpp \
|
|
${WRKSRC}/Sources/filters/ptFilter_PyramidDenoise.cpp \
|
|
${WRKSRC}/Sources/filters/ptFilter_StdCurve.cpp \
|
|
${WRKSRC}/Sources/filters/ptFilter_WaveletDenoise.cpp
|
|
@${REINPLACE_CMD} -e '/static const char src/s,char,int8_t,' \
|
|
${WRKSRC}/Sources/ptDcRaw.cpp
|
|
|
|
.include <bsd.port.mk>
|