mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.16.
- Add option for FIST support.
This commit is contained in:
parent
e6087ad201
commit
cf3087acae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242919
3 changed files with 22 additions and 13 deletions
|
@ -6,8 +6,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= ufraw
|
PORTNAME= ufraw
|
||||||
PORTVERSION= 0.15
|
PORTVERSION= 0.16
|
||||||
PORTREVISION= 3
|
PORTREVISION= 0
|
||||||
CATEGORIES= graphics gnome
|
CATEGORIES= graphics gnome
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
|
@ -20,21 +20,20 @@ LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
|
||||||
gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview \
|
gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview \
|
||||||
lcms.1:${PORTSDIR}/graphics/lcms
|
lcms.1:${PORTSDIR}/graphics/lcms
|
||||||
|
|
||||||
GCONF_SCHEMAS= ${PORTNAME}.schemas
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
|
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
|
||||||
|
|
||||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
LDFLAGS= -L"${LOCALBASE}/lib" ${PTHREAD_LIBS}
|
||||||
CPPFLAGS= -I${LOCALBASE}/include
|
CPPFLAGS= -I"${LOCALBASE}/include"
|
||||||
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
||||||
CONFIGURE_ARGS= --enable-mime
|
|
||||||
PC_FALSE+= cinepaint
|
PC_FALSE+= cinepaint
|
||||||
|
|
||||||
OPTIONS= EXIV2 "EXIF support via exiv2 library" on \
|
OPTIONS= EXIV2 "EXIF support via exiv2 library" on \
|
||||||
GIMP "Install GIMP UFRaw plugin" on \
|
GIMP "Install GIMP UFRaw plugin" on \
|
||||||
LENSFUN "Build with LenFun library support" on
|
LENSFUN "Build with LenFun library support" on \
|
||||||
|
FITS "Enable FITS output support" off
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -54,14 +53,23 @@ PLIST_SUB+= GIMP="@comment "
|
||||||
LIB_DEPENDS+= lensfun.0:${PORTSDIR}/graphics/lensfun
|
LIB_DEPENDS+= lensfun.0:${PORTSDIR}/graphics/lensfun
|
||||||
CONFIGURE_ARGS+= --with-lensfun
|
CONFIGURE_ARGS+= --with-lensfun
|
||||||
.endif
|
.endif
|
||||||
|
.if defined(WITH_FITS) || exists(${LOCALBASE}/lib/libcfitsio.so)
|
||||||
|
LIB_DEPENDS+= cfitsio.0:${PORTSDIR}/astro/cfitsio
|
||||||
|
.endif
|
||||||
|
|
||||||
MAN1= ufraw.1
|
MAN1= ufraw.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
|
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
|
||||||
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' \
|
||||||
|
${WRKSRC}/Makefile.in
|
||||||
.for i in ${PC_FALSE}
|
.for i in ${PC_FALSE}
|
||||||
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' \
|
||||||
|
${WRKSRC}/configure
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
pre-build:
|
||||||
|
${INSTALL_SCRIPT} ${LOCALBASE}/share/glib-2.0/gettext/mkinstalldirs \
|
||||||
|
${WRKSRC}/
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (ufraw-0.15.tar.gz) = 6d8f6c98a388c438784cd909dd82d540
|
MD5 (ufraw-0.16.tar.gz) = 008acc06f13efad58e0edf2dca8c6afd
|
||||||
SHA256 (ufraw-0.15.tar.gz) = 136916d39c7bb76e8e1620066baa258186c13639d64ad87f48d44fa9a766c331
|
SHA256 (ufraw-0.16.tar.gz) = ed43432d04fbac1b084eed94486794c3dfb8fcd01fd9b02da066365d09687034
|
||||||
SIZE (ufraw-0.15.tar.gz) = 976297
|
SIZE (ufraw-0.16.tar.gz) = 1072175
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
bin/ufraw
|
bin/ufraw
|
||||||
bin/ufraw-batch
|
bin/ufraw-batch
|
||||||
%%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
|
%%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
|
||||||
share/applications/ufraw.desktop
|
|
||||||
share/locale/ca/LC_MESSAGES/ufraw.mo
|
share/locale/ca/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/cs/LC_MESSAGES/ufraw.mo
|
share/locale/cs/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/da/LC_MESSAGES/ufraw.mo
|
share/locale/da/LC_MESSAGES/ufraw.mo
|
||||||
|
share/locale/de/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/es/LC_MESSAGES/ufraw.mo
|
share/locale/es/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/fr/LC_MESSAGES/ufraw.mo
|
share/locale/fr/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/it/LC_MESSAGES/ufraw.mo
|
share/locale/it/LC_MESSAGES/ufraw.mo
|
||||||
|
@ -18,6 +18,7 @@ share/locale/ru/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/sr/LC_MESSAGES/ufraw.mo
|
share/locale/sr/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/sr@latin/LC_MESSAGES/ufraw.mo
|
share/locale/sr@latin/LC_MESSAGES/ufraw.mo
|
||||||
share/locale/sv/LC_MESSAGES/ufraw.mo
|
share/locale/sv/LC_MESSAGES/ufraw.mo
|
||||||
|
share/locale/zh_CN/LC_MESSAGES/ufraw.mo
|
||||||
share/pixmaps/ufraw.png
|
share/pixmaps/ufraw.png
|
||||||
@dirrmtry share/locale/sr@latin/LC_MESSAGES
|
@dirrmtry share/locale/sr@latin/LC_MESSAGES
|
||||||
@dirrmtry share/locale/sr@latin
|
@dirrmtry share/locale/sr@latin
|
||||||
|
|
Loading…
Add table
Reference in a new issue