blob: d75e05a3c70521f0bc8e1f4de9a836caeb93d39f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
$NetBSD: patch-ae,v 1.2 2006/01/20 01:36:18 joerg Exp $
--- texk/dvi2ps-3.2j/Makefile.orig Mon Sep 11 18:16:11 2000
+++ texk/dvi2ps-3.2j/Makefile
@@ -2,16 +2,17 @@
# your site:
#
# BINAREA and DVI2LIB are relative to PREFIX
-PREFIX=${DESTDIR}/usr/local
+#PREFIX=${DESTDIR}/usr/local
# where dvi2ps is installed
BINAREA=${PREFIX}/bin
#
# directory for dvi2ps: where the auxiliary files are installed
-DVI2LIB=${PREFIX}/lib/dvi2ps
+DVI2LIB=${PREFIX}/share/texmf.local/dvi2ps
#
# directory for man and doc
MANAREA=${PREFIX}/man
-JMANAREA=${PREFIX}/man/ja
+JMANAREA=${PREFIX}/man/ja_JP.EUC
+# XXX above should be ja_JP.eucJP.
DOCAREA=${PREFIX}/doc/dvi2ps
#
# name of default fontdesc file in your site
@@ -45,19 +46,19 @@
FONTF = -DFREETYPE -DVFLIB
# FREETYPE -- FTLIB, FTINC
# VFLIB -- FTLIB, FTINC, VFLIB, VFLIBINC
-FTLIB = -L${PREFIX}/lib -lttf
+FTLIB = -R${PREFIX}/lib -L${PREFIX}/lib -lttf
FTINC = -I${PREFIX}/include/freetype
-VFLIB = -L${PREFIX}/lib -lVFlib2
+VFLIB = -R${PREFIX}/lib -L${PREFIX}/lib -lVFlib2 -lttf -lintl
VFLIBINC = -I${PREFIX}/include
# kpathsea
-KPSELIB = -L${PREFIX}/lib -lkpathsea
+KPSELIB = -R${PREFIX}/lib -L${PREFIX}/lib -lkpathsea
KPSEINC = -I${PREFIX}/include -DKPATHSEA
#
-CC=gcc
+#CC=gcc
#
-CCFLAGS = -g -O -DPOSIX
+CCFLAGS = -O2 -DPOSIX -DANSI
#CCFLAGS = -O # SUNOS 4.X etc ...
#CCFLAGS = -O -DPOSIX # NetBSD FreeBSD (gcc 2.X), Linux
#CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X)
@@ -180,10 +181,8 @@
./tools/psstrip < color.psdoc > ${HDR}/color.ps
install-man:
- ${INSTALL} -c -m 444 man/div2ps.1 ${MANAREA}/cat1/dvi2ps.1
- ${INSTALL} -c -m 444 man/div2ps.man ${MANAREA}/man1/dvi2ps.1
- ${INSTALL} -c -m 444 man/div2ps.1j ${JMANAREA}/cat1/dvi2ps.1
- ${INSTALL} -c -m 444 man/div2ps.jman ${JMANAREA}/man1/dvi2ps.1
+ ${INSTALL} -c -m 444 man/dvi2ps.man ${MANAREA}/man1/dvi2ps.1
+ ${INSTALL} -c -m 444 man/dvi2ps.jman ${JMANAREA}/man1/dvi2ps.1
install-doc:
-mkdir ${DOCAREA}
|