ports/51191: Update to misc/uf-view port

Jonathan McGee mcgee at wam.umd.edu
Sun Apr 20 18:30:18 UTC 2003


>Number:         51191
>Category:       ports
>Synopsis:       Update to misc/uf-view port
>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:   Sun Apr 20 11:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan McGee
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD maxwell.etherealwake.com 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Sun Apr 13 21:51:30 EDT 2003 root at maxwell.etherealwake.com:/usr/obj/usr/src/sys/GENERIC i386

XFree86 4.3, Gnome 2.2, KDE 3.1 installed

>Description:

Updated misc/uf-view to the newest version of the software.  Fixed some
portlint complaints (had spaces instead of tabs on some variables).  Removed
the build dependance on perl.  Revised the port description file to be more
inkeeping with what is actually in the package and what the 2.X branch
supports.

>How-To-Repeat:

n/a

>Fix:

Added a new file (a patch) called files/patch-po in the diff.

--- uf-view.diff begins here ---
diff -ruN uf-view.orig/Makefile uf-view/Makefile
--- uf-view.orig/Makefile	Sun Apr 20 14:16:03 2003
+++ uf-view/Makefile	Sun Apr 20 10:23:44 2003
@@ -6,32 +6,29 @@
 #
 
 PORTNAME=	uf-view
-PORTVERSION=	2.0
-PORTREVISION=	1
+PORTVERSION=	2.2
 CATEGORIES=	misc
 MASTER_SITES=	http://www.hadess.net/files/software/uf-view/
 
 MAINTAINER=	mcgee at wam.umd.edu
 COMMENT=	A gTK+ viewer for the User Friendly and several other popular comics
 
-LIB_DEPENDS=    gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \
+LIB_DEPENDS=	gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \
 		gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
 		gnome-desktop-2.3:${PORTSDIR}/x11/gnomedesktop
 
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
-USE_GNOMENG=    yes
-USE_GNOME=      gnomeprefix gnomehack gnomehier
+USE_GNOMENG=	yes
+USE_GNOME=	gnomeprefix gnomehack gnomehier
 GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=       --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
 
 pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
-		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
-		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
 
 .include <bsd.port.mk>
diff -ruN uf-view.orig/distinfo uf-view/distinfo
--- uf-view.orig/distinfo	Sun Apr 20 14:16:03 2003
+++ uf-view/distinfo	Sun Apr 20 09:21:15 2003
@@ -1 +1 @@
-MD5 (uf-view-2.0.tar.gz) = 036d8fcb878b1c36c484799705b160ba
+MD5 (uf-view-2.2.tar.gz) = 8a2f903693b8ac8cb955f6dd486c9ba2
diff -ruN uf-view.orig/files/patch-po uf-view/files/patch-po
--- uf-view.orig/files/patch-po	Wed Dec 31 19:00:00 1969
+++ uf-view/files/patch-po	Sun Apr 20 10:16:52 2003
@@ -0,0 +1,13 @@
+--- po/Makefile.in.in.orig	Sun Apr 20 10:14:53 2003
++++ po/Makefile.in.in	Sun Apr 20 10:15:14 2003
+@@ -27,8 +27,8 @@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
+-gnulocaledir = $(datadir)/locale
++localedir = $(prefix)/share/locale
++gnulocaledir = $(prefix)/share/locale
+ gettextsrcdir = $(datadir)/glib-2.0/gettext/po
+ subdir = po
+ 
diff -ruN uf-view.orig/pkg-descr uf-view/pkg-descr
--- uf-view.orig/pkg-descr	Sun Apr 20 14:16:03 2003
+++ uf-view/pkg-descr	Sun Apr 20 10:20:39 2003
@@ -1,6 +1,8 @@
-uf-view is a Gnome viewer for the UserFriendly comic.
-It also supports MegaTokyo, Penny Arcade, Calvin and Hobbes and
-Dilbert.  This port also includes a patch by Drew Ogle to view
-the comic goats.
+UF-View is a calendar-based comic viewer. It was first hacked to view the
+"User Friendly" comic, and was extended to allow other reccuring comics to be
+viewed as well.
 
-WWW: http://hadess.net/uf-view.shtml
+It also supports Angst Technology, Calvin and Hobbes, Little Gamers,
+Penny Arcade, and PvP.
+
+WWW: http://www.hadess.net/misc-code.php3
diff -ruN uf-view.orig/pkg-plist uf-view/pkg-plist
--- uf-view.orig/pkg-plist	Sun Apr 20 14:16:03 2003
+++ uf-view/pkg-plist	Sun Apr 20 10:18:27 2003
@@ -6,10 +6,15 @@
 share/gnome/uf-view/ch.desktop
 share/gnome/uf-view/lg.desktop
 share/gnome/uf-view/uf.desktop
-share/gnome/uf-view/w9.desktop
+share/gnome/uf-view/pa.desktop
+share/gnome/uf-view/pvp.desktop
 share/locale/az/LC_MESSAGES/uf-view.mo
+share/locale/cs/LC_MESSAGES/uf-view.mo
+share/locale/de/LC_MESSAGES/uf-view.mo
 share/locale/fr/LC_MESSAGES/uf-view.mo
+share/locale/no/LC_MESSAGES/uf-view.mo
 share/locale/pl/LC_MESSAGES/uf-view.mo
+share/locale/pt_BR/LC_MESSAGES/uf-view.mo
 share/locale/ru/LC_MESSAGES/uf-view.mo
 share/locale/sk/LC_MESSAGES/uf-view.mo
 share/locale/sv/LC_MESSAGES/uf-view.mo
--- uf-view.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list