aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-09-07 14:08:16 +0800
committertaoka <taoka@FreeBSD.org>1999-09-07 14:08:16 +0800
commitdc95f03b6203ab5c592ca5451fd5eca609010678 (patch)
tree30047ac73bc1a98bee2689b30765e1c9bafdbe6e
parent85589df9a216f9af93c52f7d300cec5e5e9eba64 (diff)
downloadfreebsd-ports-gnome-dc95f03b6203ab5c592ca5451fd5eca609010678.tar.gz
freebsd-ports-gnome-dc95f03b6203ab5c592ca5451fd5eca609010678.tar.zst
freebsd-ports-gnome-dc95f03b6203ab5c592ca5451fd5eca609010678.zip
Automatically create a Japanese font environment by TrueType fonts
-rw-r--r--japanese/addttfont/Makefile40
-rw-r--r--japanese/addttfont/distinfo1
-rw-r--r--japanese/addttfont/pkg-comment1
-rw-r--r--japanese/addttfont/pkg-descr10
-rw-r--r--japanese/addttfont/pkg-plist1
5 files changed, 53 insertions, 0 deletions
diff --git a/japanese/addttfont/Makefile b/japanese/addttfont/Makefile
new file mode 100644
index 000000000000..5fd0d3389354
--- /dev/null
+++ b/japanese/addttfont/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: addttfont
+# Version required: 1.7
+# Date created: 99/06/15
+# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= addttfont-1.7
+PKGNAME= ja-addttfont-1.7
+CATEGORIES= japanese perl5
+MASTER_SITES= http://ftp.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/tt/
+EXTRACT_SUFX= ''
+
+MAINTAINER= taoka@FreeBSD.org
+
+RUN_DEPENDS= mkres.pl:${PORTSDIR}/japanese/p5-mkres \
+ VTPSfont:${PORTSDIR}/japanese/VTPSfont \
+ ${X11BASE}/lib/X11/ja_JP.EUC/app-defaults/Tgif:${PORTSDIR}/graphics/tgif-nls
+
+USE_PERL5= yes
+NO_WRKSUBDIR= yes
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @for file in ${DISTFILES}; do \
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
+ done
+
+do-build:
+ @cd ${WRKSRC}; ${MV} ${DISTNAME} ${DISTNAME}.orig; \
+ ${SED} -e 's;^#! */usr/bin/perl *;#!${PERL5};' \
+ ${DISTNAME}.orig > ${DISTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+ ${PREFIX}/bin/addttfont
+
+.include <bsd.port.mk>
diff --git a/japanese/addttfont/distinfo b/japanese/addttfont/distinfo
new file mode 100644
index 000000000000..002db53944eb
--- /dev/null
+++ b/japanese/addttfont/distinfo
@@ -0,0 +1 @@
+MD5 (addttfont-1.7) = 9c32d062d1a60ee4844ca50756f8b1e9
diff --git a/japanese/addttfont/pkg-comment b/japanese/addttfont/pkg-comment
new file mode 100644
index 000000000000..99a42afba88a
--- /dev/null
+++ b/japanese/addttfont/pkg-comment
@@ -0,0 +1 @@
+Automatically create a Japanese font environment by TrueType fonts
diff --git a/japanese/addttfont/pkg-descr b/japanese/addttfont/pkg-descr
new file mode 100644
index 000000000000..77fcf4e21551
--- /dev/null
+++ b/japanese/addttfont/pkg-descr
@@ -0,0 +1,10 @@
+addttfont AUTOMATICALLY creates a Japanese fonts environment by
+TrueType fonts.
+
+The Japanese fonts environment means that a Japanese fonts are
+available to the following applications:
+
+* tgif (version 4)
+* X-TT
+* VFlib
+* Ghostscript supported VFlib
diff --git a/japanese/addttfont/pkg-plist b/japanese/addttfont/pkg-plist
new file mode 100644
index 000000000000..759110069c3d
--- /dev/null
+++ b/japanese/addttfont/pkg-plist
@@ -0,0 +1 @@
+bin/addttfont