summaryrefslogtreecommitdiff
path: root/print/bg5pdf/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-12 20:13:39 +0000
committerwiz <wiz@pkgsrc.org>2002-07-12 20:13:39 +0000
commit242b7ce1f252a95fb422e77bdf722962532f65ef (patch)
treec40b2a0a2fc75adea755d9032dac9e8868eac767 /print/bg5pdf/Makefile
parente72b013e94b7f030fda438963ca02079f928479b (diff)
downloadpkgsrc-242b7ce1f252a95fb422e77bdf722962532f65ef.tar.gz
Initial import of bg5pdf, provided by rxg in pkg/16265.
Bg5pdf is a simple wrapper for wrapping big5 encoding text file into PDF file by using PDFlib. The output of this program does not contain embedded fonts. You have to download the Acrobat Acroread Asianfont pack to view and print the output file or use TrueType fonts with Xpdf. This wrapper does not provide any formatting functions except simple line wrapping. If you need sophisticated formatting, you should try CJK-LaTex or other equivalent tools.
Diffstat (limited to 'print/bg5pdf/Makefile')
-rw-r--r--print/bg5pdf/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/bg5pdf/Makefile b/print/bg5pdf/Makefile
new file mode 100644
index 00000000000..6e62df5a64d
--- /dev/null
+++ b/print/bg5pdf/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/12 20:13:39 wiz Exp $
+#
+
+DISTNAME= bg5pdf-1.0.0
+CATEGORIES= print chinese
+MASTER_SITES= http://students.washington.edu/cschin/bg5ps/bg5pdf/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://students.washington.edu/cschin/bg5ps/bg5pdf/
+COMMENT= wrap big5 encoding text file into PDF file by using PDFlib
+
+PYTHON_VERSIONS_ACCEPTED= 21
+PYBINMODULE= # defined
+PY_PATCHPLIST= yes
+PYTHON_PATCH_SCRIPTS= bg5pdf
+
+MAKE_ENV+= PYINC=${PYINC} PYSITELIB=${PYSITELIB}
+
+WRKSRC= ${WRKDIR}/bg5pdf
+
+post-extract:
+ ${RM} -f ${WRKSRC}/bg5pdflib.so
+
+.include "../../lang/python/application.buildlink.mk"
+.include "../../lang/python/extension.buildlink.mk"
+.include "../../print/pdflib/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"