Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 43 lines (33 sloc) 1.361 kb
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
# $NetBSD: Makefile,v 1.13 2009/05/01 14:54:38 zafer Exp $
#
# Possible TODOs:
# - set CH based on manual page section number, and real OS name
# - add -mdoc implementation and/or translator
# - use system getopt(3)?
# - use system regex support?

DISTNAME= cawf
PKGNAME= cawf-4.10
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.tux.org/pub/sites/vic.cc.purdue.edu/
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= .zip

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ftp://vic.cc.purdue.edu/pub/cawf.README
COMMENT= Simplistic nroff-like formatter in C, like "awf"

WRKSRC= ${WRKDIR}

PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir

.include "../../mk/bsd.prefs.mk"

CPPFLAGS+= -DUNIX -DUSG -DSTDLIB -DCAWFLIB="\"${PREFIX}/share/cawf\""

INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/cawf

post-extract:
${RM} -f ${WRKSRC}/*.o

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsfilt ${WRKSRC}/cawf ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/common ${DESTDIR}${PREFIX}/share/cawf/
${INSTALL_DATA} ${WRKSRC}/device.cf ${DESTDIR}${PREFIX}/share/cawf/
${INSTALL_DATA} ${WRKSRC}/*.dev ${WRKSRC}/*.mac ${DESTDIR}${PREFIX}/share/cawf/
${INSTALL_DATA} ${WRKSRC}/00diffs ${DESTDIR}${PREFIX}/share/cawf/DIFFS

.include "../../mk/bsd.pkg.mk"
Something went wrong with that request. Please try again.