aboutsummaryrefslogtreecommitdiffstats
path: root/korean/h2ps
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-09 08:54:34 +0800
committersteve <steve@FreeBSD.org>1998-08-09 08:54:34 +0800
commitcce62460563e5991c5916cc784f31554b8023765 (patch)
tree3aa86b858b4dce65bb505c97d3d816bb6fec0990 /korean/h2ps
parent7d781c4118f189b0befcc4dd4162f611206c869a (diff)
downloadfreebsd-ports-gnome-cce62460563e5991c5916cc784f31554b8023765.tar.gz
freebsd-ports-gnome-cce62460563e5991c5916cc784f31554b8023765.tar.zst
freebsd-ports-gnome-cce62460563e5991c5916cc784f31554b8023765.zip
Update to version 2.0
PR: 7514 Submitted by: maintainer
Diffstat (limited to 'korean/h2ps')
-rw-r--r--korean/h2ps/Makefile72
-rw-r--r--korean/h2ps/distinfo2
-rw-r--r--korean/h2ps/files/patch-aa35
-rw-r--r--korean/h2ps/pkg-descr17
-rw-r--r--korean/h2ps/pkg-plist1
5 files changed, 43 insertions, 84 deletions
diff --git a/korean/h2ps/Makefile b/korean/h2ps/Makefile
index 63e8339a169f..b21eb9dfcabc 100644
--- a/korean/h2ps/Makefile
+++ b/korean/h2ps/Makefile
@@ -1,72 +1,22 @@
-# New ports collection makefile for: h2ps-1.0
-# Version required: 1.0
+# New ports collection makefile for: h2ps-2.0
+# Version required: 2.0
# Date created: 20 May 1997
-# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
+# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
-# $Id: Makefile,v 1.2 1997/09/22 16:21:39 max Exp $
+# $Id: Makefile,v 1.3 1997/11/22 01:17:55 asami Exp $
#
-DISTNAME= h2ps-1.0
-PKGNAME= ko-h2ps-${PAPERSIZE}-1.0
+DISTNAME= h2ps-2.00
+PKGNAME= ko-h2ps-a4-2.0
CATEGORIES= korean print
-MASTER_SITES= ftp://cglab.snu.ac.kr/pub/hangul/n3f/applications/
+MASTER_SITES= ftp://cglab.snu.ac.kr/pub/hangul/n3f/tar/
MAINTAINER= junker@jazz.snu.ac.kr
-MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter a4
-MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
-MAN1= h2ps.1
+pre-build:
+ @(cd ${WRKSRC}; make clean)
-letter::
- ${MAKE} PAPERSIZE=letter
-
-letter-install::
- ${MAKE} PAPERSIZE=letter install
-
-a4::
- ${MAKE} PAPERSIZE=a4
-
-a4-install::
- ${MAKE} PAPERSIZE=a4 install
-
-
-.if !defined(PAPERSIZE)
-PAPERSIZE=a4
-WIDTH=8.27
-HEIGHT=11.64
-A4_PAPERSIZE=1
-PAPERSIZE_UNSPECIFIED= yes
-.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
-PAPERSIZE=a4
-WIDTH=8.27
-HEIGHT=11.64
-A4_PAPERSIZE=1
-.elif ${PAPERSIZE} == letter || ${PAPERSIZE} == LETTER
-PAPERSIZE=letter
-WIDTH=8.5
-HEIGHT=11.0
-A4_PAPERSIZE=0
-.else
-PAPERSIZE_INVALID= yes
-.endif # not defined PAPERSIZE
-
-
-pre-fetch:
-.if defined(PAPERSIZE_UNSPECIFIED)
- @echo "Defaulting to ${PAPERSIZE} sized paper."
- @echo ""
- @echo "Set the environment variable PAPERSIZE if you want to use other sizes."
- @echo "Possible values are: A4 (default) or letter"
-.elif defined(PAPERSIZE_INVALID)
- @echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
- @echo "Possible values are: A4 (default) or letter"
- @/usr/bin/false
-.endif
-
-pre-install:
- @(cd ${WRKSRC}; make install.man)
-
-post-install:
- strip ${PREFIX}/bin/h2ps
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/h2ps ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/korean/h2ps/distinfo b/korean/h2ps/distinfo
index a2756b79cc2e..7a4911d523af 100644
--- a/korean/h2ps/distinfo
+++ b/korean/h2ps/distinfo
@@ -1 +1 @@
-MD5 (h2ps-1.0.tar.gz) = bfa63e61e7beb35f387c224679e5e7e4
+MD5 (h2ps-2.00.tar.gz) = 529c4243512f04984762d32584f513a8
diff --git a/korean/h2ps/files/patch-aa b/korean/h2ps/files/patch-aa
index aa2ee6214659..2d87327c5f46 100644
--- a/korean/h2ps/files/patch-aa
+++ b/korean/h2ps/files/patch-aa
@@ -1,15 +1,20 @@
-diff -c -r ../h2ps-1.0-orig/h2ps.1 ./h2ps.1
-*** ../h2ps-1.0-orig/h2ps.1 Wed Mar 19 21:29:14 1997
---- ./h2ps.1 Wed Mar 19 21:42:46 1997
-***************
-*** 156,161 ****
---- 156,164 ----
- is the number of copies desired of each file named. By default, you get
- only one copy.
- .TP 0.6i
-+ .B -a
-+ Use the American paper size (8.5" x 11") as the basis for all calculations.
-+ .TP 0.6i
- .B -d
- Print the current date and time at the bottom of the page. This option
- is affected by the no surrounding border and the no header options.
+--- h2ps.c.orig Fri Aug 7 01:41:12 1998
++++ h2ps.c Sat Aug 8 09:54:44 1998
+@@ -9,6 +9,7 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <time.h>
++#include <unistd.h>
+
+ #include "ncode.h"
+ #include "npsr.h"
+@@ -177,6 +178,9 @@
+ fputs("%%Creator: h2ps\n", out);
+ fprintf(out, "%%%%CreationDate: %s\n", date_str);
+ fputs("%%Pages: (atend)\n", out);
++ fputs("%%PageOrder: Ascend\n", out);
++ fputs("%%DocumentData: Clean8Bit\n", out);
++ fputs("%%DocumentPaperSizes: A4\n", out);
+ fputs("%%EndComments\n", out);
+
+ npsr_insert_resource(out, NPSR_FONT, "n3f-5");
diff --git a/korean/h2ps/pkg-descr b/korean/h2ps/pkg-descr
index d61da25a2fb6..5dc60dad523d 100644
--- a/korean/h2ps/pkg-descr
+++ b/korean/h2ps/pkg-descr
@@ -1,11 +1,16 @@
+h2ps
+----
+
h2ps formats each named file for printing in a postscript printer with
embedded PS hangul fonts; if no file is given, h2ps reads from the
-standard input. The format used is nice and compact: normally two pages
-on each physical page, borders surrounding pages, headers with useful
-information (page number, printing date, file name or supplied header),
-line numbering, etc. This is very useful for making archive listings of
-programs.
+standard input. The format used is nice and compact: n(1 to 10) pages
+on each physical page, headers with useful information (page number,
+printing date), etc. This is very useful for making simple listings of
+Korean text.
-It is relatively compat when comparing with nh2ps, and no need to another
+It is relatively compact when comparing with nh2ps, and no need to another
fonts or ghostscript. It can be printed with any PostScript printer only
with english fonts because its fonts are embedded with output.
+
+--
+Ports by CHOI Junho <junker@jazz.snu.ac.kr>
diff --git a/korean/h2ps/pkg-plist b/korean/h2ps/pkg-plist
index 08ac0554c510..435e0327ccf1 100644
--- a/korean/h2ps/pkg-plist
+++ b/korean/h2ps/pkg-plist
@@ -1,2 +1 @@
bin/h2ps
-man/man1/h2ps.1.gz