aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-01 20:32:41 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-01 20:32:41 +0000
commitc25c3fd41e3f893e1695f3728ba6e7de83d55f83 (patch)
tree2c2a53fb5f1cd2676c912fab13cb97c23f62e84d /editors
parent56c27b3048c59bb4caf8207f9a4c45d0b3af18cb (diff)
downloadports-c25c3fd41e3f893e1695f3728ba6e7de83d55f83.tar.gz
ports-c25c3fd41e3f893e1695f3728ba6e7de83d55f83.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/richtext/Makefile32
-rw-r--r--editors/richtext/distinfo3
-rw-r--r--editors/richtext/files/patch-Imakefile18
-rw-r--r--editors/richtext/pkg-descr4
5 files changed, 58 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 0d2bfd94e914..f6351e24d401 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -128,6 +128,7 @@
SUBDIR += psgml-mule
SUBDIR += puff
SUBDIR += qemacs
+ SUBDIR += richtext
SUBDIR += rospell
SUBDIR += rox-edit
SUBDIR += sam
diff --git a/editors/richtext/Makefile b/editors/richtext/Makefile
new file mode 100644
index 000000000000..0b14b7eb7d7d
--- /dev/null
+++ b/editors/richtext/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: richtext
+# Date created: 2006-07-30
+# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
+#
+# $MBSDlabs$
+# $FreeBSD$
+#
+
+PORTNAME= richtext
+PORTVERSION= 0.1.6
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/editors/X
+
+MAINTAINER= ssedov@mbsd.msk.ru
+COMMENT= A simple RTF editor
+
+BUILD_DEPENDS= objc:${PORTSDIR}/lang/objc
+
+USE_IMAKE= yes
+USE_MOTIF= yes
+
+PLIST_FILES= bin/rt
+
+post-configure:
+ ${REINPLACE_CMD} -E \
+ -e "s,([[:space:]]*EXTRA_LOAD_FLAGS[[:space:]]*=).*,\1," \
+ ${WRKSRC}/Makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rt ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/editors/richtext/distinfo b/editors/richtext/distinfo
new file mode 100644
index 000000000000..73cd08444ca2
--- /dev/null
+++ b/editors/richtext/distinfo
@@ -0,0 +1,3 @@
+MD5 (richtext-0.1.6.tar.gz) = 4bbb35e1916aa986a46d87f0bbcd7128
+SHA256 (richtext-0.1.6.tar.gz) = 189039f60e8847e10e50d43ca382ea846c681fdfaee5dde0d26cf9ea164789d6
+SIZE (richtext-0.1.6.tar.gz) = 153268
diff --git a/editors/richtext/files/patch-Imakefile b/editors/richtext/files/patch-Imakefile
new file mode 100644
index 000000000000..458f195a8df2
--- /dev/null
+++ b/editors/richtext/files/patch-Imakefile
@@ -0,0 +1,18 @@
+--- Imakefile.orig Mon Sep 13 02:07:01 1999
++++ Imakefile Sun Jul 30 14:42:16 2006
+@@ -3,7 +3,7 @@
+ CC = objc -q -DNDEBUG
+ #CC = objc -q -g
+ #MOTIFDIR=$(USRLIBDIR)
+-MOTIFDIR=/usr/local/LessTif/Motif1.2
++MOTIFDIR=${X11BASE}
+
+ .SUFFIXES : .m .lm
+
+@@ -26,5 +26,5 @@
+ underlined.o boldface.o italic.o fontsizechange.o xfontchange.o\
+ charscanner.o dispscanner.o compscanner.o charblkscanner.o
+
+-ComplexProgramTarget(rt)
++ComplexProgramTargetNoMan(rt)
+
diff --git a/editors/richtext/pkg-descr b/editors/richtext/pkg-descr
new file mode 100644
index 000000000000..d5a2e8b08db5
--- /dev/null
+++ b/editors/richtext/pkg-descr
@@ -0,0 +1,4 @@
+This a simple editor for Microsoft RTF files ver. 1.3.
+
+Author: David Stes
+WWW: http://users.pandora.be/stes/