mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
65acea2586
Add missing RDEP, set path to README in the program, take maintainer. Add MODTCL_BIN and MODTK_BIN to SUBST_VARS; soon to be removed from the Tcl/Tk port modules. ok sthen@ (from 2025/01/21)
41 lines
977 B
Makefile
41 lines
977 B
Makefile
COMMENT= boustrophedon text reader
|
|
|
|
DISTNAME= boust-0.161
|
|
REVISION = 5
|
|
|
|
CATEGORIES= textproc
|
|
MAINTAINER= Stuart Cassoff <stwo@users.sourceforge.net>
|
|
|
|
HOMEPAGE= http://web.archive.org/web/20181215124207/http://traevoli.com/boust/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
SITES= https://spacehopper.org/mirrors/
|
|
|
|
MODULES= x11/tk
|
|
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
SUBST_VARS= FONTDIR PKGNAME MODTCL_BIN MODTK_BIN
|
|
FONTS= 10x20bw.pcf.gz 10x20fw.pcf.gz 10x20ud.pcf.gz
|
|
FONTDIR= ${PREFIX}/share/fonts/boust
|
|
|
|
do-configure:
|
|
@${SUBST_CMD} ${WRKSRC}/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
|
|
cd ${WRKSRC} && gunzip boust.1.gz && \
|
|
${INSTALL_MAN} boust.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|