diff options
author | asami <asami@FreeBSD.org> | 1998-11-17 11:22:30 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-17 11:22:30 +0800 |
commit | 34ff05258528b5a49cf5ab9aa69a95c1e6f56c07 (patch) | |
tree | 28588b57c36718ec628385a6b86ca4c475961700 /x11/x3270 | |
parent | c3f7f0b591c86a0f39e2acd0347a87ef0eb35b35 (diff) | |
download | freebsd-ports-graphics-34ff05258528b5a49cf5ab9aa69a95c1e6f56c07.tar.gz freebsd-ports-graphics-34ff05258528b5a49cf5ab9aa69a95c1e6f56c07.tar.zst freebsd-ports-graphics-34ff05258528b5a49cf5ab9aa69a95c1e6f56c07.zip |
Move fonts from misc to local.
Diffstat (limited to 'x11/x3270')
-rw-r--r-- | x11/x3270/Makefile | 15 | ||||
-rw-r--r-- | x11/x3270/files/patch-aa | 11 | ||||
-rw-r--r-- | x11/x3270/pkg-plist | 42 |
3 files changed, 45 insertions, 23 deletions
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile index 1dd59a35ac9..81492ea94d9 100644 --- a/x11/x3270/Makefile +++ b/x11/x3270/Makefile @@ -3,7 +3,7 @@ # Date created: 31 January 1995 # Whom: janek # -# $Id: Makefile,v 1.9 1996/11/18 09:55:36 asami Exp $ +# $Id: Makefile,v 1.10 1997/10/15 20:23:40 max Exp $ # DISTNAME= x3270-3.1.1.6 @@ -18,4 +18,15 @@ USE_IMAKE= yes MAN1= x3270.1 x3270if.1 x3270-script.1 ibm_hosts.1 MANCOMPRESSED= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +pre-install: +.if !exists(${X11BASE}/lib/X11/fonts/local) + @${ECHO} "*********************************************************" + @${ECHO} "Please update your XFree86 to version 3.3.3 or later" + @${ECHO} "or add ${X11BASE}/lib/X11/fonts/local to your font path" + @${ECHO} "in /etc/XF86Config." + @${ECHO} "*********************************************************" +.endif + +.include <bsd.port.post.mk> diff --git a/x11/x3270/files/patch-aa b/x11/x3270/files/patch-aa new file mode 100644 index 00000000000..9d7d71a4a05 --- /dev/null +++ b/x11/x3270/files/patch-aa @@ -0,0 +1,11 @@ +--- ./Imakefile.org Thu Feb 13 14:04:51 1997 ++++ ./Imakefile Mon Nov 16 19:11:53 1998 +@@ -24,7 +24,7 @@ + FontObj(3270gt24) FontObj(3270gt24b) \ + FontObj(3270gt32) FontObj(3270gt32b) + +- FONTINSTDIR = $(FONTDIR)/misc ++ FONTINSTDIR = $(FONTDIR)/local + + LIBX3270DIR = $(LIBDIR)/x3270 + HOSTSFILE = ibm_hosts diff --git a/x11/x3270/pkg-plist b/x11/x3270/pkg-plist index c3c278cdf91..b60f4e7878e 100644 --- a/x11/x3270/pkg-plist +++ b/x11/x3270/pkg-plist @@ -1,25 +1,25 @@ bin/x3270 bin/x3270if -lib/X11/fonts/misc/3270.pcf.gz -lib/X11/fonts/misc/3270b.pcf.gz -lib/X11/fonts/misc/3270-12.pcf.gz -lib/X11/fonts/misc/3270-12b.pcf.gz -lib/X11/fonts/misc/3270-20.pcf.gz -lib/X11/fonts/misc/3270-20b.pcf.gz -lib/X11/fonts/misc/3270d.pcf.gz -lib/X11/fonts/misc/3270h.pcf.gz -lib/X11/fonts/misc/3270gt8.pcf.gz -lib/X11/fonts/misc/3270gt12.pcf.gz -lib/X11/fonts/misc/3270gt12b.pcf.gz -lib/X11/fonts/misc/3270gt16.pcf.gz -lib/X11/fonts/misc/3270gt16b.pcf.gz -lib/X11/fonts/misc/3270gt24.pcf.gz -lib/X11/fonts/misc/3270gt24b.pcf.gz -lib/X11/fonts/misc/3270gt32.pcf.gz -lib/X11/fonts/misc/3270gt32b.pcf.gz +lib/X11/fonts/local/3270.pcf.gz +lib/X11/fonts/local/3270b.pcf.gz +lib/X11/fonts/local/3270-12.pcf.gz +lib/X11/fonts/local/3270-12b.pcf.gz +lib/X11/fonts/local/3270-20.pcf.gz +lib/X11/fonts/local/3270-20b.pcf.gz +lib/X11/fonts/local/3270d.pcf.gz +lib/X11/fonts/local/3270h.pcf.gz +lib/X11/fonts/local/3270gt8.pcf.gz +lib/X11/fonts/local/3270gt12.pcf.gz +lib/X11/fonts/local/3270gt12b.pcf.gz +lib/X11/fonts/local/3270gt16.pcf.gz +lib/X11/fonts/local/3270gt16b.pcf.gz +lib/X11/fonts/local/3270gt24.pcf.gz +lib/X11/fonts/local/3270gt24b.pcf.gz +lib/X11/fonts/local/3270gt32.pcf.gz +lib/X11/fonts/local/3270gt32b.pcf.gz lib/X11/x3270/ibm_hosts -@exec /bin/chmod u+w /usr/X11R6/lib/X11/fonts/misc /usr/X11R6/lib/X11/fonts/misc/fonts.dir -@exec /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc -@exec /bin/chmod u=rwx,go=rx /usr/X11R6/lib/X11/fonts/misc -@exec /bin/chmod a=r /usr/X11R6/lib/X11/fonts/misc/fonts.dir +@exec /bin/chmod u+w /usr/X11R6/lib/X11/fonts/local /usr/X11R6/lib/X11/fonts/local/fonts.dir +@exec /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/local +@exec /bin/chmod u=rwx,go=rx /usr/X11R6/lib/X11/fonts/local +@exec /bin/chmod a=r /usr/X11R6/lib/X11/fonts/local/fonts.dir @dirrm lib/X11/x3270 |