ports/158482: Update port: graphics/ida to 2.08

KATO Tsuguru tkato432 at yahoo.com
Wed Jun 29 18:30:18 UTC 2011


>Number:         158482
>Category:       ports
>Synopsis:       Update port: graphics/ida to 2.08
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 29 18:30:17 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 2.08

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/ida/Makefile graphics/ida/Makefile
--- /usr/ports/graphics/ida/Makefile	2011-05-03 00:51:14.000000000 +0900
+++ graphics/ida/Makefile	2011-06-28 22:46:26.000000000 +0900
@@ -6,46 +6,79 @@
 #
 
 PORTNAME=	ida
-PORTVERSION=	2.07
-PORTREVISION=	5
+PORTVERSION=	2.08
 CATEGORIES=	graphics
-MASTER_SITES=	http://dl.bytesex.org/releases/fbida/
+MASTER_SITES=	http://www.kraxel.org/releases/fbida/
 DISTNAME=	fbida-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Small and fast motif-based image viewer and editor
 
 LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		png.6:${PORTSDIR}/graphics/png \
-		tiff.4:${PORTSDIR}/graphics/tiff \
-		ungif.5:${PORTSDIR}/graphics/libungif \
 		exif.12:${PORTSDIR}/graphics/libexif
 
-USE_GMAKE=	yes
+OPTIONS=	GIF "Enable GIF support" on \
+		PCD "Enable PhotoCD support" off \
+		PNG "Enable PNG support" on \
+		SANE "Enable SANE support" off \
+		TIFF "Enable TIFF support" on \
+		WEBP "Enable WebP suport" off
+
 USE_MOTIF=	yes
 USE_PERL5_BUILD=yes
-USE_ICONV=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
+USE_GMAKE=	yes
 MAKEFILE=	${WRKSRC}/GNUmakefile
-LDLIBS=		-liconv
-MAKE_ENV+=	LDLIBS="${LDLIBS}"
+MAKE_ARGS=	JPEG_VER=80 verbose=yes
 
 MAN1=		exiftran.1 ida.1
 PORTDOCS=	README TODO INSTALL
-
 PLIST_FILES=	bin/exiftran bin/ida lib/X11/app-defaults/Ida
 
-post-patch:
-	${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
-		${WRKSRC}/rd/read-png.c
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_GIF)
+MAKE_ARGS+=	HAVE_LIBUNGIF=no
+.else
+LIB_DEPENDS+=	ungif.5:${PORTSDIR}/graphics/libungif
+.endif
+
+.if defined(WITH_PCD)
+LIB_DEPENDS+=	pcd:${PORTSDIR}/graphics/libpcd
+.else
+MAKE_ARGS+=	HAVE_LIBPCD=no
+.endif
+
+.if defined(WITHOUT_PNG)
+MAKE_ARGS+=	HAVE_LIBPNG=no
+.else
+LIB_DEPENDS+=	png.6:${PORTSDIR}/graphics/png
+.endif
+
+.if defined(WITH_SANE)
+LIB_DEPENDS+=	sane:${PORTSDIR}/graphics/sane-backends
+.else
+MAKE_ARGS+=	HAVE_LIBSANE=no
+.endif
+
+.if defined(WITHOUT_TIFF)
+MAKE_ARGS+=	HAVE_LIBTIFF=no
+.else
+LIB_DEPENDS+=	tiff.4:${PORTSDIR}/graphics/tiff
+.endif
+
+.if defined(WITH_WEBP)
+LIB_DEPENDS+=	webp:${PORTSDIR}/graphics/webp
+.else
+MAKE_ARGS+=	HAVE_LIBWEBP=no
+.endif
 
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 .for a in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/graphics/ida/distinfo graphics/ida/distinfo
--- /usr/ports/graphics/ida/distinfo	2009-05-25 02:31:43.000000000 +0900
+++ graphics/ida/distinfo	2011-06-26 13:34:41.000000000 +0900
@@ -1,3 +1,2 @@
-MD5 (fbida-2.07.tar.gz) = 3e05910fb7c1d9b2bd3e272d96db069c
-SHA256 (fbida-2.07.tar.gz) = 6510dee7c4f45cb63094d540e66aa39d53215c59f46944b8bb050c26b71bdb44
-SIZE (fbida-2.07.tar.gz) = 213622
+SHA256 (fbida-2.08.tar.gz) = 298e7f3545e33596a5876f6b9c3da7ef475c2692e5fab0df824fbcd7a489cd80
+SIZE (fbida-2.08.tar.gz) = 241283
diff -urN /usr/ports/graphics/ida/pkg-descr graphics/ida/pkg-descr
--- /usr/ports/graphics/ida/pkg-descr	2004-08-21 22:26:23.000000000 +0900
+++ graphics/ida/pkg-descr	2011-06-26 22:58:43.000000000 +0900
@@ -1,4 +1,5 @@
 Ida is a small and fast image viewer, motif-based.  For people who don't want
 the KDE/GNOME overhead.  Some basic editing functions are available too.
 
-WWW: http://linux.bytesex.org/fbida/
+Author:	Gerd Knorr <kraxel at bytesex.org>
+WWW:	http://www.kraxel.org/blog/linux/fbida/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list