aboutsummaryrefslogtreecommitdiff
path: root/print/tr2latex
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-01-06 08:53:25 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-01-06 08:53:25 +0000
commitb0a2523ba53417ee7238e93a26ecb2262966047b (patch)
tree8d06055f8a05b047aa83b98671335411809c7ea5 /print/tr2latex
parent6f6bb30b6486c8d903f5b867e3de4d2c3c27b07c (diff)
downloadports-b0a2523ba53417ee7238e93a26ecb2262966047b.tar.gz
ports-b0a2523ba53417ee7238e93a26ecb2262966047b.zip
Notes
Diffstat (limited to 'print/tr2latex')
-rw-r--r--print/tr2latex/Makefile15
-rw-r--r--print/tr2latex/distinfo2
-rw-r--r--print/tr2latex/files/patch-aa44
-rw-r--r--print/tr2latex/pkg-plist4
4 files changed, 58 insertions, 7 deletions
diff --git a/print/tr2latex/Makefile b/print/tr2latex/Makefile
index c0cb466c21b3..5a75410f1b2c 100644
--- a/print/tr2latex/Makefile
+++ b/print/tr2latex/Makefile
@@ -3,16 +3,23 @@
# Date created: 25 Jan 1995
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
-# $Id$
+# $Id: Makefile,v 1.7 1997/08/26 07:12:19 tg Exp $
#
-DISTNAME= tr2latex-2.2
+DISTNAME= tr2latex
+PKGNAME= tr2latex-2.2
CATEGORIES= print
-MASTER_SITES= ftp://ftp.cs.ruu.nl/pub/TEX/TOOLS/
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= support/
MAINTAINER= tg@FreeBSD.org
-WRKSRC= ${WRKDIR}/tr2latex
MAN1= tr2latex.1
+post-extract:
+ ${CP} ${WRKSRC}/Makefile.unix ${WRKSRC}/Makefile
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/texmf/tex/latex/misc
+
.include <bsd.port.mk>
diff --git a/print/tr2latex/distinfo b/print/tr2latex/distinfo
index 2fa89c20b3a7..40bc6a40d80d 100644
--- a/print/tr2latex/distinfo
+++ b/print/tr2latex/distinfo
@@ -1 +1 @@
-MD5 (tr2latex-2.2.tar.gz) = 994aa5f76ffa764d8037042f12263ce8
+MD5 (tr2latex.tar.gz) = f23f5b7519662153be461a0c1b82651b
diff --git a/print/tr2latex/files/patch-aa b/print/tr2latex/files/patch-aa
new file mode 100644
index 000000000000..104ca42bd11d
--- /dev/null
+++ b/print/tr2latex/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.orig Tue Jan 6 09:45:40 1998
++++ Makefile Tue Jan 6 09:50:35 1998
+@@ -14,7 +14,7 @@
+ # (recommended by David Osborne, cczdao@mips.ccc.nottingham.ac.uk).
+ # Add -Dtops20 to CFLAGS if you're running it under tops20.
+ # Add -DDEBUG for some additional debugging code.
+-CFLAGS = -O -DDEBUG
++#CFLAGS = -O -DDEBUG
+
+ LINTFLAGS = -abchnpux
+ CFILES = tr2latex.c tr.c subs.c version.c
+@@ -28,10 +28,10 @@
+
+ # BINDIR gives the path where the executable should be placed after
+ # installation.
+-BINDIR = /sys/tex/bin
++BINDIR = ${PREFIX}/bin
+
+ # TEXDIR gives the path where the tex library resides (fonts, macros ...)
+-TEXDIR = /sys/tex/lib
++TEXDIR = ${PREFIX}/share/texmf/tex/latex/misc
+
+ # MANSECTION gives the section number of the online manual pages where to
+ # place the tr2latex manual page.
+@@ -41,8 +41,9 @@
+ # place the manual page into the local section by giving MANSECTION as
+ # l (``ell'') and setting MANDIR to /usr/man
+ MANSECTION = 1
+-MANDIR = /sys/tex/man
++MANDIR = ${PREFIX}/man
+
++all: tr2latex
+
+ tr2latex: tr2latex.o tr.o subs.o version.o
+ $(CC) $(CFLAGS) tr2latex.o tr.o subs.o version.o -o tr2latex
+@@ -60,7 +61,7 @@
+ install -c -m 0755 tr2latex $(BINDIR)/tr2latex
+ install -c -m 0444 tr2latex.man \
+ $(MANDIR)/man$(MANSECTION)/tr2latex.$(MANSECTION)
+- install -c -m 0444 troffman.sty troffms.sty $(TEXDIR)/macros
++ install -c -m 0444 troffman.sty troffms.sty $(TEXDIR)
+
+ clean:
+ \rm -f *.o core *junk* tr2latex lint.lst *~ TAGS tags
diff --git a/print/tr2latex/pkg-plist b/print/tr2latex/pkg-plist
index b70edec783b3..168e56ae6c93 100644
--- a/print/tr2latex/pkg-plist
+++ b/print/tr2latex/pkg-plist
@@ -1,4 +1,4 @@
bin/tr2latex
man/man1/tr2latex.1.gz
-lib/texmf/tex/misc/troffman.sty
-lib/texmf/tex/misc/troffms.sty
+share/texmf/tex/latex/misc/troffman.sty
+share/texmf/tex/latex/misc/troffms.sty