Use MODULES, Tcl/Tk 8.5. Move MESSAGE to pkg README. Don't USE_GROFF.

Thanks sthen@

ok landry@, sthen@
This commit is contained in:
stu 2013-02-01 17:07:41 +00:00
parent cbeb31112b
commit e1bd8bc23f
5 changed files with 17 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2010/11/20 19:56:47 espie Exp $
# $OpenBSD: Makefile,v 1.12 2013/02/01 17:07:41 stu Exp $
COMMENT= boustrophedon text reader
DISTNAME= boust-0.161
REVISION = 1
REVISION = 2
CATEGORIES= textproc
HOMEPAGE= http://traevoli.com/boust/
@ -15,9 +15,8 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}bin/
RUN_DEPENDS= x11/tk/8.4
MODULES= x11/tk
USE_GROFF = Yes
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
@ -25,6 +24,9 @@ SUBST_VARS= FONTDIR PKGNAME
FONTS= 10x20bw.pcf.gz 10x20fw.pcf.gz 10x20ud.pcf.gz
FONTDIR= ${PREFIX}/lib/X11/fonts/boust
do-configure:
@${SUBST_CMD} ${WRKSRC}/boust
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/boust ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/boust

View File

@ -1,5 +1,2 @@
MD5 (boust-0.161.tar.gz) = tyi1fQCNl2S+eezceqHwYg==
RMD160 (boust-0.161.tar.gz) = mmIRXwDV6ecPXwFiYp9jko3461k=
SHA1 (boust-0.161.tar.gz) = OLfx3Vw7HF5SO48QVzDotemvfR4=
SHA256 (boust-0.161.tar.gz) = bkh99ez72yRPKI7mj0EAW//cuavf9wLIni9vnRPTeIw=
SIZE (boust-0.161.tar.gz) = 64243

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-boust,v 1.2 2003/12/27 23:36:46 jose Exp $
$OpenBSD: patch-boust,v 1.3 2013/02/01 17:07:41 stu Exp $
--- boust.orig Thu Nov 7 00:06:00 2002
+++ boust Wed Nov 6 23:53:47 2002
@@ -2,9 +2,9 @@
@ -6,10 +6,10 @@ $OpenBSD: patch-boust,v 1.2 2003/12/27 23:36:46 jose Exp $
# If it is, run tclsh, otherwise, run wish.
# (The backslash makes the following line a comment as well... \
-THESH="wish"
+THESH="wish8.4"
+THESH="${MODTK_BIN}"
# blah\
-for arg in "$@" ; do if [ "$arg" == "--o" ] ; then THESH="tclsh" ; fi ; done ; \
+for arg in "$@" ; do if [ "$arg" == "--o" ] ; then THESH="tclsh8.4" ; fi ; done ; \
+for arg in "$@" ; do if [ "$arg" == "--o" ] ; then THESH="${MODTCL_BIN}" ; fi ; done ; \
# \
exec $THESH "$0" "$@"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2007/08/27 10:39:21 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2013/02/01 17:07:41 stu Exp $
bin/boust
lib/X11/fonts/
@fontdir lib/X11/fonts/boust/
@ -8,3 +8,4 @@ lib/X11/fonts/boust/10x20ud.pcf.gz
@man man/man1/boust.1
share/doc/boust/
share/doc/boust/README
share/doc/pkg-readmes/${FULLPKGNAME}

View File

@ -1,3 +1,9 @@
$OpenBSD: README,v 1.1 2013/02/01 17:07:41 stu Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
The X11 fonts for ${FULLPKGNAME} have been installed to
${FONTDIR}