Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 1998 21:21:43 +0900 (JST)
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6110: Update port: gp-2.5(print/gp).
Message-ID:  <199803231221.VAA00942@kiri.toba-cmt.ac.jp>

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

>Number:         6110
>Category:       ports
>Synopsis:       Update port: gp-2.5 (print/gp).
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 23 04:30:01 PST 1998
>Last-Modified:
>Originator:     Kazuhiko Kiriyama
>Organization:
Toba National College of Maritime Technology.
                 Department of Electronic Mechanical Engineering
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:
>Description:

	I've updated the port gp-2.5 (print/gp).

	Current modifications are

		(1) To make build correctry.
		(2) Change Dependencies suitable to run.

	Delete and Update files are respecively

	[Add] :
		scripts/post-build

	[Update] :
		Makefile
		patches/patch-aa
		scripts/configure

	I put the diff from ports-current(print/gp) in "Fix:".

>How-To-Repeat:
>Fix:
diff -urN ../../current/print/gp/Makefile ./Makefile
--- ../../current/print/gp/Makefile	Mon Feb 23 00:09:31 1998
+++ ./Makefile	Sun Mar 15 22:48:28 1998
@@ -7,16 +7,18 @@
 #
 
 DISTNAME=	GP-2.5
-PKGNAME=	gp-2.5
+PKGNAME?=	gp-2.5
 CATEGORIES=	print tk42
 MASTER_SITES=	http://www.kamome.or.jp/hueda/GP/ \
 		ftp://www.neosoft.com/pub/tcl/sorted/print/GP-2.5/
 
 MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
 
-RUN_DEPENDS=	psbook:${PORTSDIR}/print/psutils \
-		gv:${PORTSDIR}/print/gv \
-		${WITH_DEPENDS}
+LIB_DEPENDS=	${WITH_LIB}
+RUN_DEPENDS=	${PREFIX}/bin/psbook:${PORTSDIR}/print/psutils \
+		${X11BASE}/bin/gv:${PORTSDIR}/print/gv \
+		${PREFIX}/bin/convert:${PORTSDIR}/graphics/ImageMagick \
+		${WITH_RUN}
 
 PATCHDIR=	${.CURDIR}/../../print/gp/patches
 FILESDIR=	${.CURDIR}/../../print/gp/files
@@ -36,17 +38,19 @@
 .if (${LANGUAGE} == "Japanese")
 DOCDIRNAME=	Doc.ja
 DOCEXT=		.euc
-WITH_DEPENDS=	wish4.2jp:${PORTSDIR}/japanese/tk42 \
-		a2ps-j:${PORTSDIR}/japanese/a2ps \
-		xdvi:${PORTSDIR}/japanese/vfxdvi \
-		nup:${PORTSDIR}/japanese/dvi2ps
+WITH_LIB=	tcl76jp\\.1\\.:${PORTSDIR}/japanese/tcl76
+WITH_RUN=	${PREFIX}/bin/wish4.2jp:${PORTSDIR}/japanese/tk42 \
+		${PREFIX}/bin/a2ps-j:${PORTSDIR}/japanese/a2ps \
+		${X11BASE}/bin/xdvi:${PORTSDIR}/japanese/vfxdvi \
+		${PREFIX}/bin/dvi2ps:${PORTSDIR}/japanese/dvi2ps
 .else
 DOCDIRNAME=	Doc
 DOCEXT=
-WITH_DEPENDS?=	wish4.2:${PORTSDIR}/x11/tk42 \
-		a2ps:${PORTSDIR}/print/a2ps \
-		xdvi:${PORTSDIR}/print/xdvi \
-		dvips:${PORTSDIR}/print/dvips
+WITH_LIB=	tcl76\\.1\\.:${PORTSDIR}/lang/tcl76
+WITH_RUN=	${PREFIX}/bin/wish4.2:${PORTSDIR}/x11/tk42 \
+		${PREFIX}/bin/a2ps:${PORTSDIR}/print/a2ps \
+		${X11BASE}/bin/xdvi:${PORTSDIR}/print/xdvi \
+		${PREFIX}/bin/dvips:${PORTSDIR}/print/dvips
 .endif
 
 post-install:
diff -urN ../../current/print/gp/patches/patch-aa ./patches/patch-aa
--- ../../current/print/gp/patches/patch-aa	Sun Feb 15 03:13:08 1998
+++ ./patches/patch-aa	Sun Feb 22 21:28:09 1998
@@ -1,15 +1,16 @@
-*** Makefile~	Sun Feb  1 20:48:49 1998
---- Makefile	Mon Feb  2 16:47:20 1998
+*** Makefile.orig	Sun Feb  1 20:48:49 1998
+--- Makefile	Sun Feb 22 21:27:43 1998
 ***************
-*** 13,19 ****
+*** 13,20 ****
   BINDIR = $(PREFIX)/bin
   LIBDIR = $(PREFIX)/lib/GP
   
 ! FILTERS        = `ls filters`
-  FILTERS.SAMPLE = `ls filters.sample`
+! FILTERS.SAMPLE = `ls filters.sample`
   
   ICONS   = printer.xbm exit.xbm
---- 13,24 ----
+  
+--- 13,25 ----
   BINDIR = $(PREFIX)/bin
   LIBDIR = $(PREFIX)/lib/GP
   
@@ -19,6 +20,7 @@
 ! FILTERS	=a2ps dvips ImageMagick
 ! .endif
 ! 
-  FILTERS.SAMPLE = `ls filters.sample`
+! FILTERS.SAMPLE!=	ls filters.sample
   
   ICONS   = printer.xbm exit.xbm
+  
diff -urN ../../current/print/gp/scripts/configure ./scripts/configure
--- ../../current/print/gp/scripts/configure	Sun Feb 15 03:13:09 1998
+++ ./scripts/configure	Sat Feb 21 22:42:49 1998
@@ -4,31 +4,3 @@
 
 ${MV} Makefile Makefile.bak
 ${SED} -e 's@^PREFIX[ 	]*=.*$@#&@' < Makefile.bak > Makefile
-
-${MV} GP GP.bak
-${SED} \
-	-e '/^set[ 	]*PRINTER_LIST[ 	]/s@/usr/local@%%PREFIX%%@' \
-	-e '/^set[ 	]*FILETYPE_LIST[ 	]/s@/usr/local@%%PREFIX%%@' \
-	-e '/^set[ 	]*FILTERS_DIR[ 	]/s@/usr/local@%%PREFIX%%@' \
-	-e '/^set[ 	]*ICONS_PATH[ 	]/s@/usr/local@%%PREFIX%%@' \
-	< GP.bak > GP
-${MV} GP GP.bak
-${SED} \
-	-e "s@%%PREFIX%%@${PREFIX}@g" \
-	< GP.bak > GP
-
-cd ${WRKSRC}/filters.sample
-
-if [ X"${LANGUAGE}" = "XJapanese" ]; then
-	for f in a2ps-j dvi2ps-j; do
-		${MV} ${f} ${f}.bak
-		${SED} -e 's@^\(NUMBER[ 	]*=\).*$@\1 1@' < ${f}.bak > ${f}
-		${RM} -f ${f}.bak
-	done
-else
-	for f in a2ps dvips; do
-		${MV} ${f} ${f}.bak
-		${SED} -e 's@^\(NUMBER[ 	]*=\).*$@\1 1@' < ${f}.bak > ${f}
-		${RM} -f ${f}.bak
-	done
-fi
diff -urN ../../current/print/gp/scripts/post-build ./scripts/post-build
--- ../../current/print/gp/scripts/post-build	Thu Jan  1 09:00:00 1970
+++ ./scripts/post-build	Sun Feb 22 21:36:40 1998
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+cd ${WRKSRC}
+
+${MV} GP GP.bak
+${SED} \
+	-e '/^set[ 	]*PRINTER_LIST[ 	]/s@/usr/local@%%PREFIX%%@' \
+	-e '/^set[ 	]*FILETYPE_LIST[ 	]/s@/usr/local@%%PREFIX%%@' \
+	-e '/^set[ 	]*FILTERS_DIR[ 	]/s@/usr/local@%%PREFIX%%@' \
+	-e '/^set[ 	]*ICONS_PATH[ 	]/s@/usr/local@%%PREFIX%%@' \
+	-e '/^set[ 	]*PS_PREVIEWER[ 	]/s@ghostview@gv@' \
+	< GP.bak > GP
+${MV} GP GP.bak
+${SED} \
+	-e "s@%%PREFIX%%@${PREFIX}@g" \
+	< GP.bak > GP
+
+cd ${WRKSRC}/filters
+
+if [ X"${LANGUAGE}" = "XJapanese" ]; then
+	for f in a2ps-j dvi2ps-j; do
+		${MV} ${f} ${f}.bak
+		${SED} -e 's@^\(NUMBER[ 	]*=\).*$@\1 1@' < ${f}.bak > ${f}
+		${RM} -f ${f}.bak
+	done
+else
+	for f in a2ps dvips; do
+		${MV} ${f} ${f}.bak
+		${SED} -e 's@^\(NUMBER[ 	]*=\).*$@\1 1@' < ${f}.bak > ${f}
+		${RM} -f ${f}.bak
+	done
+fi
>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?199803231221.VAA00942>