blob: 961653c380d8570be0b9ef5a653941f64bafb789 (
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
29
|
# $NetBSD: Makefile,v 1.6 2003/03/29 12:42:41 jmmv Exp $
#
DISTNAME= RTF-1.10
PKGNAME= rtf-tools-1.10
PKGREVISION= 1
WRKSRC= ${WRKDIR}/rtf
CATEGORIES= textproc
MASTER_SITES= http://www.primate.wisc.edu/software/RTF/
EXTRACT_SUFX= .tar.Z
MAINTAINER= collver1@attbi.com
HOMEPAGE= http://www.primate.wisc.edu/software/RTF/
COMMENT= RTF to troff/groff/text converter
BUILD_DEPENDS+= libts-1.08:../../devel/libts
INSTALL_TARGET= install install.man
post-patch:
for i in `${FIND} ${WRKSRC} -name Makefile`; do \
${MV} $$i $$i.bak;\
${SED} <$$i.bak >$$i \
-e "s|/usr/local|${PREFIX}|g" \
-e "s|/usr/man|${PREFIX}/man|" \
-e "s|\(LOCALBINDIR =.*\)|\1/bin|" ;\
done
.include "../../mk/bsd.pkg.mk"
|