aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnterm
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-12-07 03:43:52 +0800
committerobrien <obrien@FreeBSD.org>1996-12-07 03:43:52 +0800
commitfc07469518875c47d78e4b5a22f570c63bf4364b (patch)
treedf7e89900ab7f4f7854e878bdef0cab8d3c09fd2 /vietnamese/vnterm
parent4fa87d5f49959bede71bcf1a93b9a63ecda28a8f (diff)
downloadfreebsd-ports-gnome-fc07469518875c47d78e4b5a22f570c63bf4364b.tar.gz
freebsd-ports-gnome-fc07469518875c47d78e4b5a22f570c63bf4364b.tar.zst
freebsd-ports-gnome-fc07469518875c47d78e4b5a22f570c63bf4364b.zip
Moved one part of post-install to pkg/INSTALL.
Diffstat (limited to 'vietnamese/vnterm')
-rw-r--r--vietnamese/vnterm/Makefile5
-rw-r--r--vietnamese/vnterm/pkg-install8
2 files changed, 9 insertions, 4 deletions
diff --git a/vietnamese/vnterm/Makefile b/vietnamese/vnterm/Makefile
index 644c5354c6d9..0a038b199fe0 100644
--- a/vietnamese/vnterm/Makefile
+++ b/vietnamese/vnterm/Makefile
@@ -4,7 +4,7 @@
# Date created: Sat July 20, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
-# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $
+# $Id: Makefile,v 1.1.1.1 1996/12/06 12:33:51 obrien Exp $
#
DISTNAME= vnterm3.3
@@ -31,9 +31,6 @@ post-install:
${INSTALL_DATA} fonts.dir *.pcf.Z \
${PREFIX}/lib/X11/fonts/vietnamese ; \
)
- /bin/false
- need to put below line in pkg/INSTALL?
- @(cd ${PREFIX}/lib/X11/fonts/vietnamese ; mkfontdir >/dev/null 2>&1)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/vnterm \
&& chmod a+rx ${PREFIX}/share/doc/vnterm
diff --git a/vietnamese/vnterm/pkg-install b/vietnamese/vnterm/pkg-install
new file mode 100644
index 000000000000..e4cad3d565c4
--- /dev/null
+++ b/vietnamese/vnterm/pkg-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" ]; then
+ exit 0
+fi
+
+cd ${PKG_PREFIX}/lib/X11/fonts/vietnamese
+mkfontdir >/dev/null 2>&1)