summaryrefslogtreecommitdiff
path: root/textproc/awf/Makefile
blob: b5491a29f84cdd98ef7ed45e4433ed6f0398429d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:33 tv Exp $
#

DISTNAME=	nroff-clone
PKGNAME=	awf-19900907
PKGREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://www.scn.rain.com/pub/text/
EXTRACT_SUFX=	.shar.Z

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.scn.rain.com/pub/text/
COMMENT=	Text formatter (nroff-clone) written in awk

EXTRACT_CMD=	${DECOMPRESS_CMD.shar.Z} ${DOWNLOADED_DISTFILE} | ${SED} -e '1,/^\#!/d' | ${SH}
WRKSRC=		${WRKDIR}

NO_TOOLS=	# defined
NO_WRAPPER=	# defined

SUBST_CLASSES+=		awflib
SUBST_MESSAGE.awflib=	"Fixing awf library path and awk pathname."
SUBST_FILES.awflib=	Makefile awf awf.1
SUBST_SED.awflib+=	-e 's|/usr/lib/awf|${PREFIX}/share/awf|'
SUBST_SED.awflib+=	-e 's|@AWK@|${AWK}|g'
SUBST_STAGE.awflib=	pre-configure

.include "../../mk/bsd.pkg.mk"