mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
ead1524ebb
1. Change freetype-1.2 to freetype-1.3 in post-install, so it can find freetype sources to build ttf2pk & ttf2tfm. 2. It no longer uses moettf, but Arphic ttf instead, which has no character loss and IMHO much more beautiful. :) 3. Generates GB tfms from Arphic fonts. 4. Update maintainer's address. PR: 16042 Submitted by: maintainer
182 lines
4.5 KiB
Plaintext
182 lines
4.5 KiB
Plaintext
--- utils/Makefile.orig Thu Jan 6 20:50:10 2000
|
|
+++ utils/Makefile Thu Jan 6 20:52:17 2000
|
|
@@ -0,0 +1,52 @@
|
|
+CC = /usr/bin/cc
|
|
+CFLAGS = -Wall -O
|
|
+
|
|
+TEXMF_DIR = $(PREFIX)/share/texmf
|
|
+LATEX_DIR = $(TEXMF_DIR)/tex/latex
|
|
+CJK_DIR = $(LATEX_DIR)/CJK
|
|
+
|
|
+export CP := /bin/cp
|
|
+export CHMOD := /bin/chmod
|
|
+export RM := /bin/rm
|
|
+
|
|
+export INSTALL := /usr/bin/install
|
|
+export INSTALL_DATA := $(INSTALL) -c -o root -g wheel -m 644
|
|
+export INSTALL_MAN := ${INSTALL_DATA}
|
|
+export INSTALL_PROGRAM := $(INSTALL) -c -s -o bin -g bin -m 755
|
|
+export INSTALL_SCRIPT := $(INSTALL) -c -o bin -g bin -m 755
|
|
+
|
|
+hbf2gf_build:
|
|
+ $(CHMOD) +x hbf2gf/config.guess hbf2gf/config.sub hbf2gf/configure
|
|
+ (cd hbf2gf; ./configure --prefix=$(PREFIX) --with-kpathsea-dir=$(PREFIX); $(MAKE) all)
|
|
+
|
|
+all: hbf2gf_build
|
|
+ $(MAKE) -C Bg5conv $@
|
|
+ $(MAKE) -C CEFconv $@
|
|
+ $(MAKE) -C SJISconv $@
|
|
+ $(MAKE) -C extconv $@
|
|
+ $(MAKE) -C pyhyphen $@
|
|
+ $(MAKE) -C thaiconv $@
|
|
+
|
|
+hbf2gf_install:
|
|
+ $(CHMOD) +x hbf2gf/mkinstalldirs
|
|
+ $(MAKE) -C hbf2gf install
|
|
+ $(RM) -fr $(TEXMF_DIR)/hbf2gf
|
|
+ $(CP) -R hbf2gf/cfg $(TEXMF_DIR)/hbf2gf
|
|
+
|
|
+install: hbf2gf_install
|
|
+ $(MAKE) -C Bg5conv $@
|
|
+ $(MAKE) -C CEFconv $@
|
|
+ $(MAKE) -C SJISconv $@
|
|
+ $(MAKE) -C extconv $@
|
|
+ $(MAKE) -C lisp $@
|
|
+ $(MAKE) -C pyhyphen $@
|
|
+ $(MAKE) -C thaiconv $@
|
|
+
|
|
+clean:
|
|
+ $(MAKE) -C Bg5conv $@
|
|
+ $(MAKE) -C CEFconv $@
|
|
+ $(MAKE) -C SJISconv $@
|
|
+ $(MAKE) -C extconv $@
|
|
+ $(MAKE) -C hbf2gf distclean
|
|
+ $(MAKE) -C pyhyphen $@
|
|
+ $(MAKE) -C thaiconv $@
|
|
--- utils/Bg5conv/Makefile.orig Thu Jan 1 08:00:00 1970
|
|
+++ utils/Bg5conv/Makefile Sat Feb 20 07:17:29 1999
|
|
@@ -0,0 +1,14 @@
|
|
+bg5conv:
|
|
+ $(CC) $(CFLAGS) -o $@ bg5conv.c
|
|
+
|
|
+build: bg5conv
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) bg5conv $(PREFIX)/bin
|
|
+ $(INSTALL_SCRIPT) bg5latex $(PREFIX)/bin
|
|
+ $(INSTALL_MAN) bg5conv.1 $(PREFIX)/man/man1
|
|
+
|
|
+clean:
|
|
+ $(RM) bg5conv
|
|
--- utils/CEFconv/Makefile.orig Thu Jan 1 08:00:00 1970
|
|
+++ utils/CEFconv/Makefile Sat Feb 20 07:26:46 1999
|
|
@@ -0,0 +1,20 @@
|
|
+cef5conv:
|
|
+ $(CC) $(CFLAGS) -o $@ cef5conv.c
|
|
+
|
|
+cefconv:
|
|
+ $(CC) $(CFLAGS) -o $@ cefconv.c
|
|
+
|
|
+cefsconv:
|
|
+ $(CC) $(CFLAGS) -o $@ cefsconv.c
|
|
+
|
|
+build: cef5conv cefconv cefsconv
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) *conv $(PREFIX)/bin
|
|
+ $(INSTALL_SCRIPT) *latex $(PREFIX)/bin
|
|
+ $(INSTALL_MAN) *.1 $(PREFIX)/man/man1
|
|
+
|
|
+clean:
|
|
+ $(RM) *conv
|
|
--- utils/SJISconv/Makefile.orig Thu Jan 1 08:00:00 1970
|
|
+++ utils/SJISconv/Makefile Sat Feb 20 07:29:10 1999
|
|
@@ -0,0 +1,14 @@
|
|
+sjisconv:
|
|
+ $(CC) $(CFLAGS) -o $@ sjisconv.c
|
|
+
|
|
+build: sjisconv
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) sjisconv $(PREFIX)/bin
|
|
+ $(INSTALL_SCRIPT) sjislatex $(PREFIX)/bin
|
|
+ $(INSTALL_MAN) sjisconv.1 $(PREFIX)/man/man1
|
|
+
|
|
+clean:
|
|
+ $(RM) sjisconv
|
|
--- utils/extconv/Makefile.orig Wed Sep 8 00:22:41 1999
|
|
+++ utils/extconv/Makefile Mon Sep 6 15:12:14 1999
|
|
@@ -0,0 +1,15 @@
|
|
+extconv:
|
|
+ $(CC) $(CFLAGS) -o $@ extconv.c
|
|
+
|
|
+build: extconv
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) extconv $(PREFIX)/bin
|
|
+ $(INSTALL_MAN) extconv.1 $(PREFIX)/man/man1
|
|
+ $(INSTALL_SCRIPT) bg5+latex $(PREFIX)/bin
|
|
+ $(INSTALL_SCRIPT) gbklatex $(PREFIX)/bin
|
|
+
|
|
+clean:
|
|
+ $(RM) extconv
|
|
--- utils/hbf2gf/Makefile.in.orig Sun Mar 7 16:10:45 1999
|
|
+++ utils/hbf2gf/Makefile.in Sun Mar 7 16:11:00 1999
|
|
@@ -65,7 +65,7 @@
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man1
|
|
for P in $(PROGRAMS) ; do \
|
|
$(INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
|
|
- $(INSTALL_DATA) $(srcdir)/$$P.1 $(mandir)/man1 ; \
|
|
+ $(INSTALL_DATA) -c $(srcdir)/$$P.1 $(mandir)/man1 ; \
|
|
done
|
|
|
|
uninstall:
|
|
--- utils/lisp/Makefile.orig Thu Jan 1 08:00:00 1970
|
|
+++ utils/lisp/Makefile Sat Feb 27 17:52:17 1999
|
|
@@ -0,0 +1,3 @@
|
|
+install:
|
|
+ (mkdir -p ${PREFIX}/share/emacs/site-lisp/CJK); && \
|
|
+ ($(CP) -R [a-z]* ${PREFIX}/share/emacs/site-lisp/CJK)
|
|
--- utils/pyhyphen/Makefile.orig Mon Jan 10 15:07:11 2000
|
|
+++ utils/pyhyphen/Makefile Mon Jan 10 15:15:06 2000
|
|
@@ -0,0 +1,14 @@
|
|
+pinyin:
|
|
+ $(CC) $(CFLAGS) -o $@ pinyin.c
|
|
+
|
|
+build: pinyin
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) pinyin $(PREFIX)/bin
|
|
+ $(INSTALL_DATA) pinyin.ldf $(PREFIX)/share/texmf/tex/generic/babel
|
|
+ $(INSTALL_DATA) pyhyph.tex $(PREFIX)/share/texmf/tex/generic/hyphen
|
|
+
|
|
+clean:
|
|
+ $(RM) pinyin
|
|
--- utils/thaiconv/Makefile.orig Sun Dec 13 12:00:00 1998
|
|
+++ utils/thaiconv/Makefile Sat Feb 20 07:39:03 1999
|
|
@@ -14,3 +14,14 @@
|
|
c2cweb -b "The thaiconv program" -l -v thaiconv.c
|
|
$(CWEAVE) +ai thaiconv.cw
|
|
$(TEX) thaiconv
|
|
+
|
|
+build: thaiconv
|
|
+
|
|
+all: build
|
|
+
|
|
+install: all
|
|
+ $(INSTALL_PROGRAM) thaiconv $(PREFIX)/bin
|
|
+ $(INSTALL_MAN) thaiconv.1 $(PREFIX)/man/man1
|
|
+
|
|
+clean:
|
|
+ $(RM) thaiconv
|