summaryrefslogtreecommitdiff
path: root/textproc/rtf-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rtf-tools/Makefile')
-rw-r--r--textproc/rtf-tools/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/textproc/rtf-tools/Makefile b/textproc/rtf-tools/Makefile
new file mode 100644
index 00000000000..1894e17f7c7
--- /dev/null
+++ b/textproc/rtf-tools/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 12:18:33 agc Exp $
+#
+
+DISTNAME= RTF-1.10
+PKGNAME= rtf-tools-1.10
+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.10:../../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"