summaryrefslogtreecommitdiff
path: root/korean/a2ps/Makefile
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2000-10-01 13:04:04 +0000
committerCHOI Junho <cjh@FreeBSD.org>2000-10-01 13:04:04 +0000
commit9581a76b1258b4f6ae3f6416526f9778e9f84195 (patch)
tree25a9a15ec87fe47deb6b86fa5c8309010a29479f /korean/a2ps/Makefile
parentActive ko-a2ps. (diff)
Activate ko-a2ps.
Simple a2ps wrapper for Korean text printing
Notes
Notes: svn path=/head/; revision=33285
Diffstat (limited to 'korean/a2ps/Makefile')
-rw-r--r--korean/a2ps/Makefile38
1 files changed, 38 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>