- Update to 0.10

- Add pthread to ldflags [1]

Submitted by:	Sergey Poziturin <pushkin@comtv.ru> [1]
This commit is contained in:
Andrew Pantyukhin 2006-11-01 18:41:43 +00:00
parent 4011895490
commit 2d1499e759
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176107
3 changed files with 39 additions and 28 deletions

View File

@ -5,45 +5,51 @@
# $FreeBSD$
#
PORTNAME= ufraw
PORTVERSION= 0.9.1
PORTREVISION= 2
CATEGORIES= graphics gnome
MASTER_SITES= SF
PORTNAME= ufraw
PORTVERSION= 0.10
CATEGORIES= graphics gnome
MASTER_SITES= SF
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Read and manipulate raw images from digital cameras
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Read and manipulate raw images from digital cameras
BUILD_DEPENDS= gimp:${PORTSDIR}/graphics/gimp
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
png.5:${PORTSDIR}/graphics/png \
gimpui-2.0:${PORTSDIR}/graphics/gimp \
lcms.1:${PORTSDIR}/graphics/lcms
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack intltool intlhack gtk20 libartlgpl2
WANT_GNOME= yes
GCONF_SCHEMAS= ${PORTNAME}.schemas
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
WANT_GNOME= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I ${LOCALBASE}/include"
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man --enable-mime
.ifndef WITHOUT_EXIF
LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif
CONFIGURE_ARGS+= --with-libexif
LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif
CONFIGURE_ARGS+=--with-libexif
.ifndef WITHOUT_EXIV2
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
CONFIGURE_ARGS+= --with-exiv2
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
CONFIGURE_ARGS+=--with-exiv2
.endif
.endif
MAN1= ufraw.1
MAN1= ufraw.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504105
BROKEN= Needs memmem(3)
BROKEN= Needs memmem(3)
.endif
post-patch:
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (ufraw-0.9.1.tar.gz) = 7388ed97a156ea6a7272513a1dc8f8d5
SHA256 (ufraw-0.9.1.tar.gz) = 47a77529b51558f2fbf7e22ea9f6fd79123e6c0f6c9782e70ca49fc17793ffac
SIZE (ufraw-0.9.1.tar.gz) = 331171
MD5 (ufraw-0.10.tar.gz) = 12d9bfdb8ed22e28129a729847ba6664
SHA256 (ufraw-0.10.tar.gz) = 97c8cb2ea8c86f806829d87585c5a2baf1f15542c6a3e6d47c7eb73e8a35381c
SIZE (ufraw-0.10.tar.gz) = 410407

View File

@ -2,6 +2,11 @@ bin/ufraw
bin/ufraw-batch
libexec/gimp/2.2/plug-ins/ufraw-gimp
share/applications/ufraw.desktop
share/locale/fr/LC_MESSAGES/ufraw.mo
share/locale/ru/LC_MESSAGES/ufraw.mo
share/mime/packages/ufraw-mime.xml
share/pixmaps/ufraw.png
@dirrmtry share/pixmaps
@dirrmtry share/mime/packages
@dirrmtry share/mime
@dirrmtry share/applications