ports/69363: Maintainer Update: graphics/zphoto to 1.2

UMENO Takashi umeno at rr.iij4u.or.jp
Wed Jul 21 02:40:19 UTC 2004


>Number:         69363
>Category:       ports
>Synopsis:       Maintainer Update: graphics/zphoto to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 21 02:40:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
individual
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Jul 13 05:35:24 JST 2004 umeno at belldandy.unnumbered.net:/usr/src/sys/compile/SAKUYA22 i386


	
>Description:
Maintainer Update: graphics/zphoto to 1.2
This send-pr will supersed ports/69232. (update to 1.1)
>How-To-Repeat:
	
N/A
>Fix:

	


diff -urN zphoto.orig/Makefile zphoto/Makefile
--- zphoto.orig/Makefile	Tue May 11 07:42:34 2004
+++ zphoto/Makefile	Wed Jul 21 09:17:16 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zphoto
-PORTVERSION=	1.0
+PORTVERSION=	1.2
 CATEGORIES=	graphics www
 MASTER_SITES=	http://namazu.org/~satoru/zphoto/
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,33 +16,42 @@
 
 LIB_DEPENDS=	ming.3:${PORTSDIR}/graphics/ming \
 		Imlib2.2:${PORTSDIR}/graphics/imlib2 \
-		popt.0:${PORTSDIR}/devel/popt \
-		aviplay.0:${PORTSDIR}/multimedia/avifile
+		popt.0:${PORTSDIR}/devel/popt
+.if !defined (WITHOUT_AVIPLAY)
+LIB_DEPENDS+=	aviplay.0:${PORTSDIR}/multimedia/avifile
+.endif
 .if defined (WITH_WXGTK)
 LIB_DEPENDS+=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
 .elif defined (WITH_WXGTK2)
 LIB_DEPENDS+=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
 .endif
+.if !defined (WITHOUT_ZIP)
 RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
+.endif
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 	       	CPPFLAGS="-I${LOCALBASE}/include \
 		${PTHREAD_CFLAGS}"
-.if defined (WITH_WXGTK) || (WITH_WXGTK2)
+.if defined (WITH_WXGTK)
+CONFIGURE_ARGS+=	--with-wx-config=wxgtk-2.4-config
 PLIST+=		${PKGDIR}/pkg-plist.wxzphoto
+.elif defined (WITH_WXGTK2)
+CONFIGURE_ARGS+=	--with-wx-config=wxgtk2-2.4-config
 .else
-CONFIGURE_ARGS=	--disable-wx
+CONFIGURE_ARGS+=	--disable-wx
+.endif
+.if defined (WITHOUT_AVIPLAY)
+CONFIGURE_ARGS+=	--disable-avifile
+.endif
+.if defined (WITHOUT_ZIP)
+CONFIGURE_ARGS+=	--disable-zip
 .endif
 USE_GMAKE=	yes
 USE_XLIB=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
-.if defined (WITH_WXGTK)
-	@${REINPLACE_CMD} -e 's|wxgtk2-config||g' -e 's|wxgtk2-2.5-config||g' -e 's|wxgtk2-2.4-config||g' ${WRKSRC}/configure
-.elif defined (WITH_WXGTK2)
-	@${REINPLACE_CMD} -e 's|wx-config||g' -e 's|wxgtk-config||g' ${WRKSRC}/configure
-.endif
+
 .include <bsd.port.mk>
diff -urN zphoto.orig/distinfo zphoto/distinfo
--- zphoto.orig/distinfo	Tue May 11 07:42:34 2004
+++ zphoto/distinfo	Wed Jul 21 09:17:27 2004
@@ -1,2 +1,2 @@
-MD5 (zphoto-1.0.tar.gz) = 7cba659b913468124b664bcde52efece
-SIZE (zphoto-1.0.tar.gz) = 419086
+MD5 (zphoto-1.2.tar.gz) = 636a9cffec9131043e29c1f5812a6c3c
+SIZE (zphoto-1.2.tar.gz) = 414079
diff -urN zphoto.orig/pkg-plist zphoto/pkg-plist
--- zphoto.orig/pkg-plist	Tue May 11 07:42:34 2004
+++ zphoto/pkg-plist	Sun Jul 18 00:15:21 2004
@@ -5,12 +5,14 @@
 share/zphoto/templates/default/en/zphoto.css
 share/zphoto/templates/default/en/flash-colors.txt
 share/zphoto/templates/default/en/css-colors.txt
+share/zphoto/templates/default/en/zoom.js
 share/zphoto/templates/default/ja/.photo.html
 share/zphoto/templates/default/ja/index.html
 share/zphoto/templates/default/ja/noflash.html
 share/zphoto/templates/default/ja/zphoto.css
 share/zphoto/templates/default/ja/flash-colors.txt
 share/zphoto/templates/default/ja/css-colors.txt
+share/zphoto/templates/default/ja/zoom.js
 share/zphoto/templates/default/all/.photo.html
 share/zphoto/templates/default/all/zphoto.css
 share/zphoto/templates/default/all/index.html.en
@@ -19,8 +21,14 @@
 share/zphoto/templates/default/all/noflash.html.ja
 share/zphoto/templates/default/all/flash-colors.txt
 share/zphoto/templates/default/all/css-colors.txt
+share/zphoto/templates/default/all/zoom.js.en
+share/zphoto/templates/default/all/zoom.js.ja
 share/zphoto/doc/zphoto-ja.html
 share/zphoto/doc/zphoto.html
+share/zphoto/doc/images/wxzphoto-linux-mini.png
+share/zphoto/doc/images/wxzphoto-linux.png
+share/zphoto/doc/images/wxzphoto-mini.png
+share/zphoto/doc/images/wxzphoto.png
 share/zphoto/fonts/EfontSerifB.fdb
 share/locale/ja/LC_MESSAGES/zphoto.mo
 share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo
@@ -30,5 +38,6 @@
 @dirrm share/zphoto/templates/default
 @dirrm share/zphoto/templates
 @dirrm share/zphoto/fonts
+ at dirrm share/zphoto/doc/images
 @dirrm share/zphoto/doc
 @dirrm share/zphoto
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list