summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/treetext/Makefile24
-rw-r--r--editors/treetext/distinfo4
-rw-r--r--editors/treetext/files/MakeInclude9
-rw-r--r--editors/treetext/pkg/DESCR2
-rw-r--r--editors/treetext/pkg/PLIST2
5 files changed, 41 insertions, 0 deletions
diff --git a/editors/treetext/Makefile b/editors/treetext/Makefile
new file mode 100644
index 00000000000..4dfc8665b56
--- /dev/null
+++ b/editors/treetext/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/05 17:18:52 sakamoto Exp $
+#
+
+DISTNAME= TreeText-0.3.3-src
+PKGNAME= ${DISTNAME:C/-src//}
+CATEGORIES= editors
+MASTER_SITES= http://www.ab.wakwak.com/~tino/fox/treetext/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www.ab.wakwak.com/~tino/fox/treetext/
+COMMENT= multi documents editor
+
+USE_X11BASE= #defined
+
+WRKSRC= ${WRKDIR}/treetext/treetext
+
+post-extract:
+ @${LN} -s ${WRKSRC}/makefile ${WRKSRC}/Makefile
+ @${SED} -e 's|$${X11BASE}|${X11BASE}|' ${FILESDIR}/MakeInclude \
+ > ${WRKSRC}/MakeInclude
+
+.include "../../x11/fox/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/treetext/distinfo b/editors/treetext/distinfo
new file mode 100644
index 00000000000..ff6d3d75bea
--- /dev/null
+++ b/editors/treetext/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/05 17:18:52 sakamoto Exp $
+
+SHA1 (TreeText-0.3.3-src.zip) = 38c05a1daab47c53f1de8f46079e3caf1d0a1551
+Size (TreeText-0.3.3-src.zip) = 81251 bytes
diff --git a/editors/treetext/files/MakeInclude b/editors/treetext/files/MakeInclude
new file mode 100644
index 00000000000..42c3e7b1e78
--- /dev/null
+++ b/editors/treetext/files/MakeInclude
@@ -0,0 +1,9 @@
+CXX = g++
+CXXFLAGS = -Wall -DUSE_UNICODE
+AR = ar cru
+RANLIB = ranlib
+STRIP = strip
+INCLUDE = ${CPPFLAGS} -I${X11BASE}/include
+LIBDIR = ${LDFLAGS}
+LINK = -lFOX
+INSTDIR = ${PREFIX}/bin
diff --git a/editors/treetext/pkg/DESCR b/editors/treetext/pkg/DESCR
new file mode 100644
index 00000000000..e69e8320c14
--- /dev/null
+++ b/editors/treetext/pkg/DESCR
@@ -0,0 +1,2 @@
+TreeText is multi documents editor.
+This editor is usable as an outline processor.
diff --git a/editors/treetext/pkg/PLIST b/editors/treetext/pkg/PLIST
new file mode 100644
index 00000000000..676d41e4e90
--- /dev/null
+++ b/editors/treetext/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/05 17:18:52 sakamoto Exp $
+bin/treetext