diff options
Diffstat (limited to 'korean/a2ps')
-rw-r--r-- | korean/a2ps/Makefile | 38 | ||||
-rw-r--r-- | korean/a2ps/distinfo | 1 | ||||
-rw-r--r-- | korean/a2ps/files/patch-aa | 23 | ||||
-rw-r--r-- | korean/a2ps/pkg-comment | 1 | ||||
-rw-r--r-- | korean/a2ps/pkg-descr | 8 | ||||
-rw-r--r-- | korean/a2ps/pkg-plist | 1 |
6 files changed, 72 insertions, 0 deletions
diff --git a/korean/a2ps/Makefile b/korean/a2ps/Makefile new file mode 100644 index 000000000000..b87e03acc375 --- /dev/null +++ b/korean/a2ps/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: ko-a2ps +# Date created: 30 Sep 2000 +# Whom: cjh +# +# $FreeBSD$ +# + +PORTNAME= a2ps +PORTVERSION= 20000314 +CATEGORIES= korean print +MASTER_SITES= http://www.kr.FreeBSD.org/~hwang/misc/ +DISTNAME= a2ps-h +EXTRACT_SUFX= .py +EXTRACT_ONLY= + +MAINTAINER= cjh@FreeBSD.org + +# depends on a2ps-a4. a2ps has several variation, so if I should +# choose one, a2ps-a4 is good because A4-sized paper is default in Korea. +RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-a4 + +USE_PYTHON= YES +NO_WRKSUBDIR= YES +# default Korean PS font +PSFONTKO= Gulim-Medium-KSC-EUC-H + +pre-patch: + ${CP} ${_DISTDIR}/${DISTFILES} ${WRKDIR} + +do-build: + ${SED} -e "s;%%PYTHON_CMD%%;${PYTHON_CMD};g" \ + -e "s;%%PSFONTKO%%;${PSFONTKO};g" \ + ${WRKDIR}/a2ps-h.py > ${WRKDIR}/a2ps-h + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/a2ps-h ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/korean/a2ps/distinfo b/korean/a2ps/distinfo new file mode 100644 index 000000000000..364ea6f02080 --- /dev/null +++ b/korean/a2ps/distinfo @@ -0,0 +1 @@ +MD5 (a2ps-h.py) = 37b8a768924ae82075a49ee99f789cf2 diff --git a/korean/a2ps/files/patch-aa b/korean/a2ps/files/patch-aa new file mode 100644 index 000000000000..804955c37196 --- /dev/null +++ b/korean/a2ps/files/patch-aa @@ -0,0 +1,23 @@ +--- a2ps-h.py~ Sat Sep 30 18:04:02 2000 ++++ a2ps-h.py Sat Sep 30 18:04:39 2000 +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#!%%PYTHON_CMD%% + + # + # (C) Mizi Research +@@ -16,10 +16,10 @@ + + import string,sys,os + +-hps = '/Gulim-Regular' +-hbps = '/Gulim-Regular' +-hbops = '/Gulim-Regular' +-hops = '/Gulim-Regular' ++hps = '/%%PSFONTKO%%' ++hbps = '/%%PSFONTKO%%' ++hbops = '/%%PSFONTKO%%' ++hops = '/%%PSFONTKO%%' + + def trans_file(filename): + if type(filename) == type([]): diff --git a/korean/a2ps/pkg-comment b/korean/a2ps/pkg-comment new file mode 100644 index 000000000000..f4771076a2d5 --- /dev/null +++ b/korean/a2ps/pkg-comment @@ -0,0 +1 @@ +Simple a2ps wrapper for Korean text printing diff --git a/korean/a2ps/pkg-descr b/korean/a2ps/pkg-descr new file mode 100644 index 000000000000..03421052d2b9 --- /dev/null +++ b/korean/a2ps/pkg-descr @@ -0,0 +1,8 @@ +a2ps-h does filtering a2ps(not a2ps 4.3, a2ps 4.12 is ok) output +for Korean text printing. It converts Korean text in a2ps output +to Korean-printable PS file. + +WWW: http://www.kr.FreeBSD.org/~hwang/misc/index.html + +-- +CHOI Junho <cjh@FreeBSD.org> diff --git a/korean/a2ps/pkg-plist b/korean/a2ps/pkg-plist new file mode 100644 index 000000000000..21f0c22c2fce --- /dev/null +++ b/korean/a2ps/pkg-plist @@ -0,0 +1 @@ +bin/a2ps-h |