Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 09:52:10 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16426: Update port: graphics/xfig
Message-ID:  <20000128175210.9F37C15DFE@hub.freebsd.org>

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

>Number:         16426
>Category:       ports
>Synopsis:       Update port: graphics/xfig
>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:   Fri Jan 28 10:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Change default status of Ghostscript support
- Fix pkg/DESCR to apply locale naming rule of FreeBSD
- Fix pkg/PLIST

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/xfig/Makefile graphics/xfig/Makefile
--- /usr/ports/graphics/xfig/Makefile	Mon Jan 24 20:16:39 2000
+++ graphics/xfig/Makefile	Fri Jan 28 21:43:47 2000
@@ -20,28 +20,18 @@
 		Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
 RUN_DEPENDS=	fig2dev:${PORTSDIR}/print/transfig
 
-.if defined(WANT_GS_SUPPORT)
-RUN_DEPENDS+=	gs:${PORTSDIR}/print/ghostscript5
-.endif
-
 USE_IMAKE=	yes
 MAN1=		xfig.1
 
 pre-fetch:
-.if !defined(WANT_GS_SUPPORT)
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "If you would like build xfig with Ghostscript support"
-	@${ECHO_MSG} "you must set the variable WANT_GS_SUPPORT"
-	@${ECHO_MSG} ""
-.else
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "Building xfig with Ghostscript support"
-	@${ECHO_MSG} ""
+.if !defined(NO_GSBIT)
+	@${ECHO_MSG} "To build this port without Ghostscript support,"
+	@${ECHO_MSG} "define \"NO_GSBIT\"."
 .endif
 
 post-patch:
 	@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
-.if !defined(WANT_GS_SUPPORT)
+.if defined(NO_GSBIT)
 	@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
 .endif
 
diff -urN /usr/ports/graphics/xfig/pkg/DESCR graphics/xfig/pkg/DESCR
--- /usr/ports/graphics/xfig/pkg/DESCR	Mon Jan 24 20:16:40 2000
+++ graphics/xfig/pkg/DESCR	Fri Jan 28 21:09:40 2000
@@ -14,8 +14,8 @@
 "Fig.international: true" into your resource file, -international option may 
 omitted.
 
-ja_JP.EUC is tested for input, display, and printing.
-For zh_CN.eucCN and ko_KR.eucKR, only display is confirmed.
+ja_JP.EUC and ko_KR.EUC is tested for input, display, and printing.
+For zh_CN.EUC, only display is confirmed.
 
 Read /usr/X11R6/lib/X11/xfig/xfig.html for more information.
 
diff -urN /usr/ports/graphics/xfig/pkg/PLIST graphics/xfig/pkg/PLIST
--- /usr/ports/graphics/xfig/pkg/PLIST	Mon Jan 24 20:16:54 2000
+++ graphics/xfig/pkg/PLIST	Fri Jan 28 21:47:16 2000
@@ -722,4 +722,4 @@
 @dirrm lib/X11/xfig/Libraries/Computers
 @dirrm lib/X11/xfig/Libraries/Buildings
 @dirrm lib/X11/xfig/Libraries
-@dirrm lib/X11/xfig
+@unexec rmdir %D/lib/X11/xfig 2>/dev/null || true


>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?20000128175210.9F37C15DFE>