forked from Lainports/freebsd-ports
- Update to 0.12
This commit is contained in:
parent
32ef33ed71
commit
b037187b73
3 changed files with 13 additions and 15 deletions
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= ufraw
|
||||
PORTVERSION= 0.11
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 0.12
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
@ -17,6 +16,7 @@ COMMENT= Read and manipulate raw images from digital cameras
|
|||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview \
|
||||
lcms.1:${PORTSDIR}/graphics/lcms
|
||||
|
||||
GCONF_SCHEMAS= ${PORTNAME}.schemas
|
||||
|
|
@ -25,26 +25,23 @@ USE_XLIB= yes
|
|||
USE_GETTEXT= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
|
||||
WANT_GNOME= yes
|
||||
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
||||
CONFIGURE_ARGS= --enable-mime
|
||||
|
||||
.ifndef WITHOUT_EXIF
|
||||
LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif
|
||||
CONFIGURE_ARGS+=--with-libexif
|
||||
PC_FALSE+= cinepaint
|
||||
.ifndef WITHOUT_EXIV2
|
||||
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
|
||||
CONFIGURE_ARGS+=--with-exiv2
|
||||
.endif
|
||||
.else
|
||||
PC_FALSE+= exiv2
|
||||
.endif
|
||||
.ifndef WITHOUT_GIMP
|
||||
LIB_DEPENDS+= gimp-2.0.200:${PORTSDIR}/graphics/gimp-app
|
||||
PLIST_SUB+= GIMP=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gimp
|
||||
PC_FALSE+= gimp
|
||||
PLIST_SUB+= GIMP="@comment "
|
||||
.endif
|
||||
|
||||
|
|
@ -57,6 +54,10 @@ BROKEN= Needs memmem(3)
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
|
||||
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
|
||||
.for i in ${PC_FALSE}
|
||||
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (ufraw-0.11.tar.gz) = e7e5930a872657830a77dc9ddbfce93b
|
||||
SHA256 (ufraw-0.11.tar.gz) = 0a66f8e290b634133de52745dc8ff326aad59a4424b4abf41eef12e5da0cb35c
|
||||
SIZE (ufraw-0.11.tar.gz) = 483124
|
||||
MD5 (ufraw-0.12.tar.gz) = b2c104938c1c3eb47e7605432bbd3157
|
||||
SHA256 (ufraw-0.12.tar.gz) = c750c8180057385eaa0844f1148d6f0223b986da322773195eab44b33b97c19f
|
||||
SIZE (ufraw-0.12.tar.gz) = 582952
|
||||
|
|
|
|||
|
|
@ -7,11 +7,8 @@ share/locale/fr/LC_MESSAGES/ufraw.mo
|
|||
share/locale/ja/LC_MESSAGES/ufraw.mo
|
||||
share/locale/pt/LC_MESSAGES/ufraw.mo
|
||||
share/locale/ru/LC_MESSAGES/ufraw.mo
|
||||
share/mime/packages/ufraw-mime.xml
|
||||
share/pixmaps/ufraw.png
|
||||
%%GIMP%%@dirrmtry libexec/gimp/2.2/plug-ins
|
||||
%%GIMP%%@dirrmtry libexec/gimp/2.2
|
||||
%%GIMP%%@dirrmtry libexec/gimp
|
||||
@dirrmtry share/applications
|
||||
@dirrmtry share/mime/packages
|
||||
@dirrmtry share/mime
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue