blob: 93d0516aae013c4a108306d38b048fd8d6418714 (
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.4 2001/11/29 01:12:50 hubertf Exp $
#
DISTNAME= RTF-1.10
PKGNAME= rtf-tools-1.10
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.primate.wisc.edu/software/RTF/
EXTRACT_SUFX= .tar.Z
MAINTAINER= collver@linuxfreemail.com
HOMEPAGE= http://www.primate.wisc.edu/software/RTF/
COMMENT= RTF to troff/groff/text converter
BUILD_DEPENDS+= libts-1.08:../../devel/libts
WRKSRC= ${WRKDIR}/rtf
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"
|