Enable i18n code.

Remove English ghostscript from RUN_DEPENDS.

Submitted by:	MITA Yoshio <Yoshio.Mita@isen.fr>
PR:		ports/4640
This commit is contained in:
Jun Kuriyama 1998-04-30 16:35:33 +00:00
parent 0531c923f8
commit c4be988e6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10792
5 changed files with 37 additions and 9 deletions

View file

@ -3,22 +3,28 @@
# Date created: 9 August 1996
# Whom: chuckr@freebsd.org
#
# $Id: Makefile,v 1.15 1998/02/18 04:52:41 asami Exp $
# $Id: Makefile,v 1.16 1998/04/15 21:41:13 jseger Exp $
#
DISTNAME= transfig.3.2
PKGNAME= transfig-3.2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITES= ${MASTER_SITE_XCONTRIB} ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= applications/drawing_tools/transfig
DISTFILES= transfig.3.2.tar.gz transfig.3.2.ja_JP.EUC.ps.gz
MAINTAINER= chuckr@freebsd.org
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
jpeg\\.8\\.:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
ppmtogif:${PORTSDIR}/graphics/netpbm
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
USE_IMAKE= yes
EXTRACT_ONLY= transfig.3.2.tar.gz
post-install:
@${MKDIR} ${PREFIX}/lib/X11/fig2dev
@${GZCAT} ${DISTDIR}/transfig.3.2.ja_JP.EUC.ps.gz \
> ${PREFIX}/lib/X11/fig2dev/ja_JP.EUC.ps
.include <bsd.port.mk>

View file

@ -1 +1,2 @@
MD5 (transfig.3.2.tar.gz) = d5ded82f303c75a92bbf4bec568e7853
MD5 (transfig.3.2.ja_JP.EUC.ps.gz) = c608af518c15cf44d57a6abe3ce86b2f

View file

@ -1,5 +1,5 @@
--- fig2dev/Imakefile.orig Mon Aug 25 20:51:04 1997
+++ fig2dev/Imakefile Mon Aug 25 20:54:14 1997
--- fig2dev/Imakefile.orig Fri Aug 22 23:33:55 1997
+++ fig2dev/Imakefile Sat Sep 27 14:35:49 1997
@@ -37,7 +37,7 @@
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
@ -20,7 +20,17 @@
XCOMM For Linux machines or any machines that have a separate library for
XCOMM the database management routines, uncomment the following line
@@ -138,7 +138,7 @@
@@ -116,7 +116,8 @@
XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig.
-XCOMM I18N_DEFS = -DI18N -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"'
+I18N_DEFS = -DI18N
+I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(PREFIX)/lib/X11/fig2dev\"'
DEFINES = $(NEED_STRERROR) $(HAVE_NO_STRCASECMP) $(HAVE_NO_STRNCASECMP) $(USEINLINE) \
$(I18N_DEFS)
@@ -138,7 +139,7 @@
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
@ -29,7 +39,16 @@
JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
JPEGLIBDIR = ../../jpeg
@@ -175,10 +175,10 @@
@@ -161,7 +162,7 @@
#endif
DEVDEFINES = $(DUSEJPEG) $(DUSEXPM) $(XPMINC) $(XPMDBM) \
- $(DDNFSS) $(DDEPSF) $(DDA4) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEFS)
+ $(DDNFSS) $(DDEPSF) $(DDA4) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEV_DEFS)
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
@@ -175,10 +176,10 @@
INCLUDES = -I.. -I$(JPEGINCDIR)
LOCAL_LIBRARIES = $(LIBTRANSFIG) $(JPEGLIB)

View file

@ -1,6 +1,6 @@
TransFig is a set of tools for creating TeX documents with graphics
which are portable, in the sense that they can be printed in a wide
variety of environments. This is version 3.1.2.
variety of environments.
Drivers currently exist for the following graphics langauges: (E)EPIC
macros, LaTeX picture environment, PIC, PiCTeX, PostScript, and

View file

@ -3,7 +3,9 @@ bin/fig2dev
bin/fig2ps2tex
bin/fig2ps2tex.sh
bin/pic2tpic
lib/X11/fig2dev/ja_JP.EUC.ps
man/man1/transfig.1.gz
man/man1/fig2ps2tex.1.gz
man/man1/pic2tpic.1.gz
man/man1/fig2dev.1.gz
@dirrm lib/X11/fig2dev