command line implementation of the PAR v1.0 specificaton

This commit is contained in:
jolan 2004-07-03 23:45:37 +00:00
parent 81c021fbde
commit deb728da1c
5 changed files with 63 additions and 0 deletions

View File

@ -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 <jolan@openbsd.org>
# 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 <bsd.port.mk>

View File

@ -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

View File

@ -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}

View File

@ -0,0 +1,2 @@
par1cmdline is a command line implementation of the PAR v1.0
specification.

View File

@ -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