diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-02-08 12:21:29 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-02-08 12:21:29 +0800 |
commit | a7bf683c856211e9a0ecb0260dcaa26e0eac9fdf (patch) | |
tree | c102d47c215bdf8130452aab5873ab86335f4544 /sysutils/ods2 | |
parent | 5a6b9503111f2aed4015bbe9a251bd79cc18fd4f (diff) | |
download | freebsd-ports-gnome-a7bf683c856211e9a0ecb0260dcaa26e0eac9fdf.tar.gz freebsd-ports-gnome-a7bf683c856211e9a0ecb0260dcaa26e0eac9fdf.tar.zst freebsd-ports-gnome-a7bf683c856211e9a0ecb0260dcaa26e0eac9fdf.zip |
Add ods2.
From aaareadme.txt:
Say, what is this?
ODS2 is a program to read VMS disk volumes written in VMS
ODS2 format.
What can it do?
Basically ODS2 provides cut down DIRECTORY, COPY and
SEARCH commands for VMS volumes on non-VMS systems. These
can be used to find out what is on a VMS volume, and copy
files onto the local file sytem.
See aaareadme.txt and aaareadme.too for more information.
WWW: http://www.goatley.com/hunter/
PR: ports/92996
Submitted by: Thierry Dussuet <thierry@dussuet.lugs.ch>
Diffstat (limited to 'sysutils/ods2')
-rw-r--r-- | sysutils/ods2/Makefile | 36 | ||||
-rw-r--r-- | sysutils/ods2/distinfo | 3 | ||||
-rw-r--r-- | sysutils/ods2/files/patch-ods2.c | 15 | ||||
-rw-r--r-- | sysutils/ods2/pkg-descr | 15 |
4 files changed, 69 insertions, 0 deletions
diff --git a/sysutils/ods2/Makefile b/sysutils/ods2/Makefile new file mode 100644 index 000000000000..4b820c6c7633 --- /dev/null +++ b/sysutils/ods2/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: ods2 +# Date created: 31 January 2006 +# Whom: Thierry Dussuet <dussuett@wigwam.ethz.ch> +# +# $FreeBSD$ +# + +PORTNAME= ods2 +PORTVERSION= 1.3 +CATEGORIES= sysutils +MASTER_SITES= http://www.lugs.ch/~dussuett/ +DISTNAME= ods2 + +MAINTAINER= dussuett@wigwam.ethz.ch +COMMENT= An utility for manipulating ODS-2 filesystems + +USE_ZIP= yes +NO_WRKSUBDIR= yes +MAKEFILE= makefile.unix +MAKE_ARGS= CCFLAGS="${CFLAGS}" + +PLIST_FILES= sbin/ods2 +PORTDOCS= aareadme.too aareadme.txt + +post-patch: + @${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \ + ${WRKSRC}/${MAKEFILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/ods2/distinfo b/sysutils/ods2/distinfo new file mode 100644 index 000000000000..c6c8526d1d43 --- /dev/null +++ b/sysutils/ods2/distinfo @@ -0,0 +1,3 @@ +MD5 (ods2.zip) = 722ea8fda67a8fd2e5fe237584951dda +SHA256 (ods2.zip) = 6c4f0bba11958e84278dca2c78c33349575df145584c1d030a2172c7792ca7fc +SIZE (ods2.zip) = 480695 diff --git a/sysutils/ods2/files/patch-ods2.c b/sysutils/ods2/files/patch-ods2.c new file mode 100644 index 000000000000..29c0585be936 --- /dev/null +++ b/sysutils/ods2/files/patch-ods2.c @@ -0,0 +1,15 @@ +--- ods2.c~ Fri Sep 7 23:17:04 2001 ++++ ods2.c Tue Jan 31 13:03:50 2006 +@@ -1094,8 +1094,10 @@ + #ifdef VMS + if (getcmd (str, "$> ") == NULL) break; + #else +- printf("$> "); +- if (gets(str) == NULL) break; ++ printf("$> "); ++ if (fgets(str, sizeof(str), stdin) == NULL) ++ break; ++ str[strlen(str)-1] = '\0'; /* strip newline from str */ + #endif + } + ptr = str; diff --git a/sysutils/ods2/pkg-descr b/sysutils/ods2/pkg-descr new file mode 100644 index 000000000000..cd3499d33606 --- /dev/null +++ b/sysutils/ods2/pkg-descr @@ -0,0 +1,15 @@ +From aaareadme.txt: + +Say, what is this? + ODS2 is a program to read VMS disk volumes written in VMS + ODS2 format. + +What can it do? + Basically ODS2 provides cut down DIRECTORY, COPY and + SEARCH commands for VMS volumes on non-VMS systems. These + can be used to find out what is on a VMS volume, and copy + files onto the local file sytem. + +See aaareadme.txt and aaareadme.too for more information. + +WWW: http://www.goatley.com/hunter/ |