Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 09:45:10 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/14580: Update port: japanese/gxditview
Message-ID:  <19991028164510.4915214BC7@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14580
>Category:       ports
>Synopsis:       Update port: japanese/gxditview
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 28 09:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE
>Organization:
>Environment:
>Description:
* Updated version 1.09+mb0.98 to 1.10+mb0.99
* Moved information of manpages from pkg/PLIST to Makefile
* Fixed typo at pkg/DESCR

New file:
patches/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/japanese/gxditview/Makefile japanese/gxditview/Makefile
--- /usr/ports/japanese/gxditview/Makefile	Tue Aug 31 21:08:04 1999
+++ japanese/gxditview/Makefile	Thu Oct 28 12:00:00 1999
@@ -1,41 +1,31 @@
 # New ports collection makefile for:	gxditview (part of ja-groff)
-# Version required:	1.09+0.98
+# Version required:	1.10+0.99
 # Date created:		14 April 1995
 # Whom:			Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
 #
 # $FreeBSD: ports/japanese/gxditview/Makefile,v 1.14 1999/08/31 06:45:33 mharo Exp $
 #
 
-DISTNAME=	groff-1.09
-PKGNAME=	ja-gxditview-0.98
+DISTNAME=	groff-1.10
+PKGNAME=	ja-gxditview-0.99
 CATEGORIES=	japanese print
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	groff
 
+PATCH_SITES=	ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
+		ftp://ftp.hipecs.hokudai.ac.jp/pub/GNU/jp/
+PATCHFILES=	jgroff-0.99.diff.gz
+PATCH_DIST_ARGS=?	-d ${WRKSRC}/.. --forward --quiet -E -p1
+
 MAINTAINER=	ports@FreeBSD.org
 
-PATCH_SITES=	ftp://ftp.iij.ad.jp/pub/NetNews/fj.sources/volume95/Apr/
-PATCHFILES=	jgroff-0.98.diff.gz
-DISTPATCHES=	950414.01.Z 950414.02.Z
-PATCH_DIST_ARGS?=	-d ${WRKSRC}/.. --forward --quiet -E -p1
+RUN_DEPENDS=	groff:${PORTSDIR}/japanese/groff
 
 USE_IMAKE=	yes
-WRKSRC=		${WRKDIRPREFIX}${.CURDIR}/work/${DISTNAME}/xditview
+WRKSRC=		${WRKDIR}/${DISTNAME}/xditview
+MAN1=		gxditview.1
 
-pre-fetch: 
-	@(cd ${DISTDIR}; \
-	 if [ ! -f ${PATCHFILES} ]; then \
-	    ${ECHO_MSG} ">> ${PATCHFILES} doesn't seem to exist on this system."; \
-	    for file in ${DISTPATCHES} ; do \
-		for site in ${PATCH_SITES} ; do \
-		    if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} ${FETCH_AFTER_ARGS}; then \
-			break; \
-		    fi \
-		done; \
-	    done; \
-	    for file in ${DISTPATCHES} ; do zcat $${file}; done | \
-		${SED} '/^END -----/,/^BEGIN ----/d' | uudecode; \
-	    ${RM} -f ${DISTPATCHES};\
-	 fi)
+post-patch:
+	@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
 
 .include <bsd.port.mk>
diff -urN /usr/ports/japanese/gxditview/files/md5 japanese/gxditview/files/md5
--- /usr/ports/japanese/gxditview/files/md5	Tue May  2 00:00:00 1995
+++ japanese/gxditview/files/md5	Thu Oct 28 12:00:00 1999
@@ -1,2 +1,2 @@
-MD5 (groff-1.09.tar.gz) = 759cb03fbccce45ce59478a26325480d
-MD5 (jgroff-0.98.diff.gz) = 84147e01b4c3a30eb05dfe2196972d40
+MD5 (groff-1.10.tar.gz) = cc58a06abafe82ada7c02f0f2b2c8509
+MD5 (jgroff-0.99.diff.gz) = 0055c596a6cb641e3a8e844465e81623
diff -urN /usr/ports/japanese/gxditview/patches/patch-aa japanese/gxditview/patches/patch-aa
--- /usr/ports/japanese/gxditview/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ japanese/gxditview/patches/patch-aa	Thu Oct 28 12:00:00 1999
@@ -0,0 +1,11 @@
+--- Imakefile.orig	Wed Oct 28 22:19:59 1992
++++ Imakefile	Thu Oct 28 07:55:00 1999
+@@ -1,6 +1,6 @@
+-GROFF_LIBDIR = /usr/local/lib/groff
++GROFF_LIBDIR = %%LOCALBASE%%/share/groff
+ GROFF_FONTDIR = $(GROFF_LIBDIR)/font
+-GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/local/lib/font:/usr/lib/font
++GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/share/groff_font
+ DPIS = 75 100
+ 
+ PROGRAMS = gxditview xtotroff
diff -urN /usr/ports/japanese/gxditview/pkg/DESCR japanese/gxditview/pkg/DESCR
--- /usr/ports/japanese/gxditview/pkg/DESCR	Tue May  2 00:00:00 1995
+++ japanese/gxditview/pkg/DESCR	Thu Oct 28 12:00:00 1999
@@ -1,2 +1,2 @@
 This is Japanized gxditview, a X11 previewer for jgroff which
-based on MIT's xditview and GNU's modication.
+based on MIT's xditview and GNU's modification.
diff -urN /usr/ports/japanese/gxditview/pkg/PLIST japanese/gxditview/pkg/PLIST
--- /usr/ports/japanese/gxditview/pkg/PLIST	Sun Nov 17 00:00:00 1996
+++ japanese/gxditview/pkg/PLIST	Thu Oct 28 12:00:00 1999
@@ -1,3 +1,2 @@
 bin/gxditview
 lib/X11/app-defaults/GXditview
-man/man1/gxditview.1.gz


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991028164510.4915214BC7>