From deb728da1c758c2c06de48ee6f89313697f6fadd Mon Sep 17 00:00:00 2001 From: jolan Date: Sat, 3 Jul 2004 23:45:37 +0000 Subject: [PATCH] command line implementation of the PAR v1.0 specificaton --- archivers/par1cmdline/Makefile | 28 ++++++++++++++++++++ archivers/par1cmdline/distinfo | 3 +++ archivers/par1cmdline/patches/patch-Makefile | 26 ++++++++++++++++++ archivers/par1cmdline/pkg/DESCR | 2 ++ archivers/par1cmdline/pkg/PLIST | 4 +++ 5 files changed, 63 insertions(+) create mode 100644 archivers/par1cmdline/Makefile create mode 100644 archivers/par1cmdline/distinfo create mode 100644 archivers/par1cmdline/patches/patch-Makefile create mode 100644 archivers/par1cmdline/pkg/DESCR create mode 100644 archivers/par1cmdline/pkg/PLIST diff --git a/archivers/par1cmdline/Makefile b/archivers/par1cmdline/Makefile new file mode 100644 index 00000000000..a4c1032c8db --- /dev/null +++ b/archivers/par1cmdline/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/07/03 23:45:37 jolan Exp $ + +COMMENT= "command line implementation of the PAR v1.0 specification" +DISTNAME= par-v1.1 +PKGNAME= ${DISTNAME:S/par-v/par1cmdline-/} +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=parchive/} + +HOMEPAGE= http://parchive.sourceforge.net/ + +MAINTAINER= Jolan Luff + +# GPL +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes + +NO_REGRESS= Yes + +WRKDIST=${WRKDIR}/par-cmdline + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par1cmdline + ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par1cmdline + +.include diff --git a/archivers/par1cmdline/distinfo b/archivers/par1cmdline/distinfo new file mode 100644 index 00000000000..c8ab3bc60a0 --- /dev/null +++ b/archivers/par1cmdline/distinfo @@ -0,0 +1,3 @@ +MD5 (par-v1.1.tar.gz) = 6653f9aaa90afdce2070e0beab2ce4fb +RMD160 (par-v1.1.tar.gz) = 20daa6460898ae3cfb5553c829bec45329e5ad7d +SHA1 (par-v1.1.tar.gz) = acba4cdfb8a89b1542cd9ba6494d0d3461e609a1 diff --git a/archivers/par1cmdline/patches/patch-Makefile b/archivers/par1cmdline/patches/patch-Makefile new file mode 100644 index 00000000000..f70c784b143 --- /dev/null +++ b/archivers/par1cmdline/patches/patch-Makefile @@ -0,0 +1,26 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2004/07/03 23:45:37 jolan Exp $ +--- Makefile.orig Sat Nov 17 10:39:52 2001 ++++ Makefile Sat Jul 3 18:15:34 2004 +@@ -1,17 +1,9 @@ ++OBJS = backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o + +-CFLAGS=-g -W -Wall -Wno-unused -O2 ++.c.o: ++ ${CC} ${CFLAGS} -c -Wall $< -o $@ + +-par: backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o +- $(CC) -o $@ $^ +- +-clean: +- rm -f core par par.exe *.o +- + all: par + +-par.exe: +- make clean +- make CC="dos-gcc -s" +- +-install: par +- install par ${HOME}/bin/ ++par: $(OBJS) ++ ${CC} -o par ${OBJS} diff --git a/archivers/par1cmdline/pkg/DESCR b/archivers/par1cmdline/pkg/DESCR new file mode 100644 index 00000000000..83939310109 --- /dev/null +++ b/archivers/par1cmdline/pkg/DESCR @@ -0,0 +1,2 @@ +par1cmdline is a command line implementation of the PAR v1.0 +specification. diff --git a/archivers/par1cmdline/pkg/PLIST b/archivers/par1cmdline/pkg/PLIST new file mode 100644 index 00000000000..eb609bc3e8d --- /dev/null +++ b/archivers/par1cmdline/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/07/03 23:45:37 jolan Exp $ +bin/par +share/doc/par1cmdline/README +@dirrm share/doc/par1cmdline