openbsd-ports/textproc/boust/Makefile
naddy a6a1ffd025 Import boust 0.161.
Submitted by Sebastian Stark <seb@todesplanet.de>.

Boustrophedon is a reading-/writing-style that alternates direction
every line. It was originally created by the ancient Greeks.  This
program formats the text-files to be read in this manner.
2002-11-28 12:43:44 +00:00

41 lines
1015 B
Makefile

# $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 <seb@todesplanet.de>
# 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 <bsd.port.mk>