diff --git a/textproc/boust/Makefile b/textproc/boust/Makefile new file mode 100644 index 00000000000..3978c5e651e --- /dev/null +++ b/textproc/boust/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/11/28 12:43:44 naddy Exp $ + +COMMENT= "boustrophedon text reader" +DISTNAME= boust-0.161 +CATEGORIES= textproc + +HOMEPAGE= http://traevoli.com/boust/ + +MAINTAINER= Sebastian Stark + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}bin/ + +RUN_DEPENDS= ::x11/tk/8.3 +USE_X11= Yes + +NO_BUILD= Yes +NO_REGRESS= Yes +SUBST_VARS= FONTDIR PKGNAME +FONTS= 10x20bw.pcf.gz 10x20fw.pcf.gz 10x20ud.pcf.gz +FONTDIR= ${PREFIX}/lib/X11/fonts/boust + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/boust ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/boust + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/boust + ${INSTALL_DATA_DIR} ${FONTDIR} +.for font in ${FONTS} + ${INSTALL_DATA} ${WRKSRC}/${font} ${FONTDIR} +.endfor + ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTDIR} + cd ${WRKSRC} && gunzip boust.1.gz && \ + ${INSTALL_MAN} boust.1 ${PREFIX}/man/man1 + +.include diff --git a/textproc/boust/distinfo b/textproc/boust/distinfo new file mode 100644 index 00000000000..4bddada1a24 --- /dev/null +++ b/textproc/boust/distinfo @@ -0,0 +1,3 @@ +MD5 (boust-0.161.tar.gz) = b728b57d008d9764be79ecdc7aa1f062 +RMD160 (boust-0.161.tar.gz) = 9a62115f00d5e9e70f5f0162629f63928df8eb59 +SHA1 (boust-0.161.tar.gz) = 38b7f1dd5c3b1c5e523b8f105730e8b5e9af7d1e diff --git a/textproc/boust/files/fonts.dir b/textproc/boust/files/fonts.dir new file mode 100644 index 00000000000..0b603ea0774 --- /dev/null +++ b/textproc/boust/files/fonts.dir @@ -0,0 +1,4 @@ +3 +10x20ud.pcf.gz 10x20-iso8859-upsidedown +10x20bw.pcf.gz 10x20-iso8859-backwards +10x20fw.pcf.gz 10x20-iso8859-forwards diff --git a/textproc/boust/patches/patch-boust b/textproc/boust/patches/patch-boust new file mode 100644 index 00000000000..1076e9c2cef --- /dev/null +++ b/textproc/boust/patches/patch-boust @@ -0,0 +1,15 @@ +$OpenBSD: patch-boust,v 1.1.1.1 2002/11/28 12:43:44 naddy Exp $ +--- boust.orig Thu Nov 7 00:06:00 2002 ++++ boust Wed Nov 6 23:53:47 2002 +@@ -2,9 +2,9 @@ + # In sh check to see if the "--o" argument is present. + # If it is, run tclsh, otherwise, run wish. + # (The backslash makes the following line a comment as well... \ +-THESH="wish" ++THESH="wish8.3" + # blah\ +-for arg in "$@" ; do if [ "$arg" == "--o" ] ; then THESH="tclsh" ; fi ; done ; \ ++for arg in "$@" ; do if [ "$arg" == "--o" ] ; then THESH="tclsh8.3" ; fi ; done ; \ + # \ + exec $THESH "$0" "$@" + diff --git a/textproc/boust/pkg/DESCR b/textproc/boust/pkg/DESCR new file mode 100644 index 00000000000..dc0464dae76 --- /dev/null +++ b/textproc/boust/pkg/DESCR @@ -0,0 +1,15 @@ +Boustrophedon is a reading-/writing-style that alternates direction +every line. It was originally created by the ancient Greeks. Once one +gets good at reading the 'backwards' text, reading (and writing) can +go much faster, as the eye (or hand) does not have to whip back to the +margin when the end of a line is reached. One simply goes down a line +and continues in the opposite direction. + +In the case of a paragraph ending, the next paragraph should retain +the horizontal position, and (depending on which the text is closest +to: the center of the screen or the margin) continues in the same +direction, or continue in the opposite direction. + +This program formats the text-files to be read in this manner. + +WWW: ${HOMEPAGE} diff --git a/textproc/boust/pkg/MESSAGE b/textproc/boust/pkg/MESSAGE new file mode 100644 index 00000000000..ecbf5328f9a --- /dev/null +++ b/textproc/boust/pkg/MESSAGE @@ -0,0 +1,17 @@ ++--------------------------------------------------- +| The X11 fonts for ${PKGNAME} have been installed to +| +| ${FONTDIR} +| +| You must add them to your X11 font paths with the +| following command: +| +| xset +fp ${FONTDIR} +| +| To enable this permanently when the X11 server is +| started, add +| +| FontPath "${FONTDIR}" +| +| in the "Files" section of your XF86Config file. ++--------------------------------------------------- diff --git a/textproc/boust/pkg/PLIST b/textproc/boust/pkg/PLIST new file mode 100644 index 00000000000..847d91c29b6 --- /dev/null +++ b/textproc/boust/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/11/28 12:43:44 naddy Exp $ +bin/boust +lib/X11/fonts/boust/10x20bw.pcf.gz +lib/X11/fonts/boust/10x20fw.pcf.gz +lib/X11/fonts/boust/10x20ud.pcf.gz +lib/X11/fonts/boust/fonts.dir +man/man1/boust.1 +share/doc/boust/README +@dirrm share/doc/boust +@dirrm lib/X11/fonts/boust