View | Details | Raw Unified | Return to bug 255400
Collapse All | Expand All

(-)b/graphics/ufraw/Makefile (-6 / +17 lines)
Lines 17-23 LIB_DEPENDS= libtiff.so:graphics/tiff \ Link Here
17
		libfreetype.so:print/freetype2
17
		libfreetype.so:print/freetype2
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--enable-extras
20
CONFIGURE_ARGS=	--enable-extras --enable-jasper
21
USES=		compiler:c++11-lang desktop-file-utils gettext gmake jpeg pkgconfig autoreconf gnome
21
USES=		compiler:c++11-lang desktop-file-utils gettext gmake jpeg pkgconfig autoreconf gnome
22
22
23
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 42-55 USE_GNOME+=glib20 gtk20 cairo gdkpixbuf2 Link Here
42
CONTRAST_CONFIGURE_ENABLE=	contrast
42
CONTRAST_CONFIGURE_ENABLE=	contrast
43
DST_CONFIGURE_ENABLE=	dst-correction
43
DST_CONFIGURE_ENABLE=	dst-correction
44
EXIV2_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
44
EXIV2_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
45
EXIV2_VARS_OFF=		PC_FALSE+=exiv2
46
LENSFUN_LIB_DEPENDS=	liblensfun.so:graphics/lensfun
45
LENSFUN_LIB_DEPENDS=	liblensfun.so:graphics/lensfun
47
LENSFUN_VARS_OFF=	PC_FALSE+=lensfun
46
FITS_CONFIGURE_WITH=	cfitsio
48
FITS_LIB_DEPENDS=	libcfitsio.so:astro/cfitsio
47
FITS_LIB_DEPENDS=	libcfitsio.so:astro/cfitsio
49
FITS_VARS_OFF=		PC_FALSE+=cfitsio
48
GIMP_LIB_DEPENDS=	libbabl-0.1.so:x11/babl \
50
GIMP_LIB_DEPENDS=	libgimp-2.0.so:graphics/gimp-app
49
			libgegl-0.4.so:graphics/gegl \
50
			libgimp-2.0.so:graphics/gimp-app \
51
			libjson-glib-1.0.so:devel/json-glib
51
GIMP_CONFIGURE_WITH=	gimp
52
GIMP_CONFIGURE_WITH=	gimp
52
GIMP_VARS_OFF=		PC_FALSE+=gimp
53
GIMP_IMPLIES=		GTK2
53
GIMP_IMPLIES=		GTK2
54
GTK2_LIB_DEPENDS=	libgtkimageview.so:x11-toolkits/gtkimageview
54
GTK2_LIB_DEPENDS=	libgtkimageview.so:x11-toolkits/gtkimageview
55
GTK2_CONFIGURE_WITH=	gtk
55
GTK2_CONFIGURE_WITH=	gtk
Lines 59-64 GNOME_VARS= CATEGORIES+=gnome GCONF_SCHEMAS=${PORTNAME}.schemas Link Here
59
59
60
post-patch:
60
post-patch:
61
	${GREP} -Ilrs 'default(none)' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's/default(none)//g'
61
	${GREP} -Ilrs 'default(none)' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's/default(none)//g'
62
	@${REINPLACE_CMD} -e 's|$$(datadir)/gconf/schemas|${PREFIX}/etc/gconf/schemas|g' \
63
		${WRKSRC}/Makefile.am
64
65
post-patch-EXIV2-off:
66
	@${REINPLACE_CMD} -e 's|exiv2 >= 0.20|exiv2 < 0|g' \
67
		${WRKSRC}/configure.ac
68
69
post-patch-LENSFUN-off:
70
	@${REINPLACE_CMD} -e 's|lensfun >= 0.2.5|lensfun < 0|g' \
71
		${WRKSRC}/configure.ac
72
62
post-install:
73
post-install:
63
	${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR}
74
	${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR}
64
75
(-)b/graphics/ufraw/pkg-plist (+1 lines)
Lines 4-9 bin/nikon-curve Link Here
4
bin/ufraw-batch
4
bin/ufraw-batch
5
%%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
5
%%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
6
man/man1/ufraw.1.gz
6
man/man1/ufraw.1.gz
7
%%GNOME%%share/appdata/ufraw.appdata.xml
7
share/applications/ufraw.desktop
8
share/applications/ufraw.desktop
8
share/locale/ca/LC_MESSAGES/ufraw.mo
9
share/locale/ca/LC_MESSAGES/ufraw.mo
9
share/locale/cs/LC_MESSAGES/ufraw.mo
10
share/locale/cs/LC_MESSAGES/ufraw.mo

Return to bug 255400