diff options
Diffstat (limited to 'palm')
-rw-r--r-- | palm/Makefile | 1 | ||||
-rw-r--r-- | palm/makeztxt/Makefile | 23 | ||||
-rw-r--r-- | palm/makeztxt/distinfo | 1 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-Makefile | 31 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt.h | 10 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt_generate_db.c | 10 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt_init.c | 10 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt_list_bookmarks.c | 10 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt_process.c | 10 | ||||
-rw-r--r-- | palm/makeztxt/files/patch-libztxt::ztxt_set.c | 10 | ||||
-rw-r--r-- | palm/makeztxt/pkg-comment | 1 | ||||
-rw-r--r-- | palm/makeztxt/pkg-descr | 6 | ||||
-rw-r--r-- | palm/makeztxt/pkg-plist | 1 |
13 files changed, 124 insertions, 0 deletions
diff --git a/palm/Makefile b/palm/Makefile index ec1ee72f67ea..37ff508f8687 100644 --- a/palm/Makefile +++ b/palm/Makefile @@ -13,6 +13,7 @@ SUBDIR += jpilot SUBDIR += libmal SUBDIR += malsync + SUBDIR += makeztxt SUBDIR += mdbconv SUBDIR += p5-Palm SUBDIR += palmos-sdk diff --git a/palm/makeztxt/Makefile b/palm/makeztxt/Makefile new file mode 100644 index 000000000000..a14af394d587 --- /dev/null +++ b/palm/makeztxt/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: makeztxt +# Date created: Oct 19, 2002 +# Whom: Roman Shterenzon <roman@xpert.com> +# +# $FreeBSD$ +# + +PORTNAME= makeztxt +PORTVERSION= 1.43 +CATEGORIES= palm +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gutenpalm +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= roman@xpert.com + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_GMAKE= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${LOCALBASE}/bin/ + +.include <bsd.port.mk> diff --git a/palm/makeztxt/distinfo b/palm/makeztxt/distinfo new file mode 100644 index 000000000000..a3b40f4bb4bd --- /dev/null +++ b/palm/makeztxt/distinfo @@ -0,0 +1 @@ +MD5 (makeztxt-1.43-src.tar.gz) = 9af951a5b6d7e5633c02cd4b13bb606a diff --git a/palm/makeztxt/files/patch-Makefile b/palm/makeztxt/files/patch-Makefile new file mode 100644 index 000000000000..f3282e6da984 --- /dev/null +++ b/palm/makeztxt/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig Sat Oct 19 15:38:34 2002 ++++ Makefile Sat Oct 19 15:40:04 2002 +@@ -9,8 +9,8 @@ + LIBS = -lztxt + INCLUDE = -I../common -I. + +-CC = gcc +-CFLAGS = -Wall -O2 -pipe $(INCLUDE) ++CC ?= cc ++CFLAGS += -Wall $(INCLUDE) + # GNU make is mandatory + #MAKE = make + +@@ -29,7 +29,7 @@ + # more featureful and faster (on large strings) than POSIX regex. + # But... maybe you don't have GNU regex. + # In particular, if compiling with Cygwin, you need this. +-#USEPOSIX = 1 ++USEPOSIX = 1 + + # DOS, in all its infinite wisdom, decided long ago to differentiate between + # text files and binary files. Text files get their \n converted to \r\n and +@@ -44,7 +44,7 @@ + + # If you're on a system that does not have getopt.h or does not have the + # getopt_long() function, comment this out. Regular getopt() will be used. +-LONG_OPTS = 1 ++#LONG_OPTS = 1 + + + ##################################### diff --git a/palm/makeztxt/files/patch-libztxt::ztxt.h b/palm/makeztxt/files/patch-libztxt::ztxt.h new file mode 100644 index 000000000000..ece5f2bf4a7f --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt.h @@ -0,0 +1,10 @@ +--- libztxt/ztxt.h.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt.h Sun Sep 29 15:46:52 2002 +@@ -31,6 +31,7 @@ + #define _ZTXT_H_ 1 + + ++#include <sys/types.h> + #include <regex.h> + #include "databaseHdrs.h" + #include <weasel_common.h> diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_generate_db.c b/palm/makeztxt/files/patch-libztxt::ztxt_generate_db.c new file mode 100644 index 000000000000..bb3f3843ffe7 --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt_generate_db.c @@ -0,0 +1,10 @@ +--- libztxt/ztxt_generate_db.c.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt_generate_db.c Sun Sep 29 15:51:55 2002 +@@ -30,6 +30,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> ++#include <sys/types.h> + #include <netinet/in.h> + #include <regex.h> + #include "ztxt.h" diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_init.c b/palm/makeztxt/files/patch-libztxt::ztxt_init.c new file mode 100644 index 000000000000..25463ba72d1f --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt_init.c @@ -0,0 +1,10 @@ +--- libztxt/ztxt_init.c.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt_init.c Sun Sep 29 15:52:33 2002 +@@ -30,6 +30,7 @@ + #include <stdlib.h> + #include <string.h> + #include <time.h> ++#include <sys/types.h> + #include <netinet/in.h> + #include "ztxt.h" + diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_list_bookmarks.c b/palm/makeztxt/files/patch-libztxt::ztxt_list_bookmarks.c new file mode 100644 index 000000000000..01a83d076112 --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt_list_bookmarks.c @@ -0,0 +1,10 @@ +--- libztxt/ztxt_list_bookmarks.c.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt_list_bookmarks.c Sun Sep 29 15:52:10 2002 +@@ -29,6 +29,7 @@ + + #include <stdio.h> + #include <string.h> ++#include <sys/types.h> + #include <regex.h> + + #include "ztxt.h" diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_process.c b/palm/makeztxt/files/patch-libztxt::ztxt_process.c new file mode 100644 index 000000000000..b874e67826d7 --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt_process.c @@ -0,0 +1,10 @@ +--- libztxt/ztxt_process.c.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt_process.c Sun Sep 29 15:52:49 2002 +@@ -30,6 +30,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> ++#include <sys/types.h> + #include <regex.h> + #include <zlib.h> + #include "ztxt.h" diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_set.c b/palm/makeztxt/files/patch-libztxt::ztxt_set.c new file mode 100644 index 000000000000..3985cc0fb2c6 --- /dev/null +++ b/palm/makeztxt/files/patch-libztxt::ztxt_set.c @@ -0,0 +1,10 @@ +--- libztxt/ztxt_set.c.old Sat Mar 2 07:03:18 2002 ++++ libztxt/ztxt_set.c Sun Sep 29 15:52:21 2002 +@@ -28,6 +28,7 @@ + */ + + #include <string.h> ++#include <sys/types.h> + #include <netinet/in.h> + #include "ztxt.h" + diff --git a/palm/makeztxt/pkg-comment b/palm/makeztxt/pkg-comment new file mode 100644 index 000000000000..0a9726511158 --- /dev/null +++ b/palm/makeztxt/pkg-comment @@ -0,0 +1 @@ +Command line utility to create GutenPalm's zTXT format databases diff --git a/palm/makeztxt/pkg-descr b/palm/makeztxt/pkg-descr new file mode 100644 index 000000000000..044934b0a577 --- /dev/null +++ b/palm/makeztxt/pkg-descr @@ -0,0 +1,6 @@ +makeztxt is a simple command line program that takes a plain ASCII text file +and compresses it into a zTXT database. makeztxt will remove newline +characters at the end of lines that contain text so that the paragraphs flow +better on the Palm screen. + +WWW: http://gutenpalm.sourceforge.net/ diff --git a/palm/makeztxt/pkg-plist b/palm/makeztxt/pkg-plist new file mode 100644 index 000000000000..6f0eb3796cdc --- /dev/null +++ b/palm/makeztxt/pkg-plist @@ -0,0 +1 @@ +bin/makeztxt |