pkgsrc/textproc/cawf/Makefile
tv 14a1e9c544 cawf 4.10 - from DESCR:
Cawf is a C version of awf, Henry Spencer's Amazingly Workable (text)
Formatter.  (Awf is written in awk and appears in comp.sources.unix,
Volume 23, Issue 27.)  Cawf and awf provide a usable subset of raw nroff
capabilities and the styles of the man(7), me(7) (only cawf supports
me(7)), and ms(7) macro sets.

Like awf, cawf is completely independent of any licensed Unix source
code.  In comparison to awf, cawf supports more nroff functions and one
more macro set, me(7).
2005-01-20 17:59:12 +00:00

32 lines
965 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2005/01/20 17:59:12 tv Exp $
#
DISTNAME= cawf
PKGNAME= cawf-4.10
CATEGORIES= textproc
MASTER_SITES= http://www.tux.org/pub/sites/vic.cc.purdue.edu/
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= .zip
MAINTAINER= tv@duh.org
HOMEPAGE= http://www.tux.org/pub/sites/vic.cc.purdue.edu/
COMMENT= Simplistic nroff-like formatter in C, like "awf"
WRKSRC= ${WRKDIR}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -DUNIX -DUSG -DSTDLIB -DCAWFLIB='\"${PREFIX}/share/cawf\"'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsfilt ${WRKSRC}/cawf ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/*.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/cawf
${INSTALL_DATA} ${WRKSRC}/device.cf ${PREFIX}/share/cawf/
${INSTALL_DATA} ${WRKSRC}/*.dev ${WRKSRC}/*.mac ${PREFIX}/share/cawf/
${INSTALL_DATA} ${WRKSRC}/00diffs ${PREFIX}/share/cawf/DIFFS
.include "../../mk/bsd.pkg.mk"