From 3be9465329384408f232d006a2f448e475ddf020 Mon Sep 17 00:00:00 2001 From: naddy Date: Wed, 18 Jul 2012 10:42:27 +0000 Subject: [PATCH] fix man page and remove unnecessary dependencies --- devel/cvsps/Makefile | 12 +++++------- devel/cvsps/distinfo | 3 --- devel/cvsps/patches/patch-Makefile | 13 +++++++++++++ devel/cvsps/patches/patch-cvsps_1 | 14 ++++++++++++++ devel/cvsps/patches/patch-cvsps_c | 8 ++++---- 5 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 devel/cvsps/patches/patch-Makefile create mode 100644 devel/cvsps/patches/patch-cvsps_1 diff --git a/devel/cvsps/Makefile b/devel/cvsps/Makefile index 66c85caca4a..21715b15eff 100644 --- a/devel/cvsps/Makefile +++ b/devel/cvsps/Makefile @@ -1,22 +1,20 @@ -# $OpenBSD: Makefile,v 1.3 2010/10/18 17:47:52 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2012/07/18 10:42:27 naddy Exp $ COMMENT= generate patchsets from CVS repositories -V= 2.1 -DISTNAME= cvsps-${V} +DISTNAME= cvsps-2.1 +REVISION= 0 CATEGORIES= devel HOMEPAGE= http://www.cobite.com/cvsps/ -# GPL +# GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c z -MASTER_SITES= http://www.cobite.com/cvsps/ -USE_GMAKE= Yes -USE_GROFF = Yes +MASTER_SITES= ${HOMEPAGE} do-install: ${INSTALL_PROGRAM} ${WRKBUILD}/cvsps ${PREFIX}/bin diff --git a/devel/cvsps/distinfo b/devel/cvsps/distinfo index 069d89a7010..dc948193d03 100644 --- a/devel/cvsps/distinfo +++ b/devel/cvsps/distinfo @@ -1,5 +1,2 @@ -MD5 (cvsps-2.1.tar.gz) = veIRDtn10U3o+MsE6dWW/g== -RMD160 (cvsps-2.1.tar.gz) = owY/Y4+/ETZ2FUllhDLVhC5Kdm8= -SHA1 (cvsps-2.1.tar.gz) = pTpisSHnuG4Ho5O8uKpPBJKnR8Q= SHA256 (cvsps-2.1.tar.gz) = kdMZizNGOGGlgWhtX8+ZpcSE58TYGThMBP2pyv7BB1o= SIZE (cvsps-2.1.tar.gz) = 61634 diff --git a/devel/cvsps/patches/patch-Makefile b/devel/cvsps/patches/patch-Makefile new file mode 100644 index 00000000000..1b467207dda --- /dev/null +++ b/devel/cvsps/patches/patch-Makefile @@ -0,0 +1,13 @@ +$OpenBSD: patch-Makefile,v 1.1 2012/07/18 10:42:27 naddy Exp $ +--- Makefile.orig Wed Jul 18 00:35:29 2012 ++++ Makefile Wed Jul 18 00:36:54 2012 +@@ -23,6 +23,9 @@ all: cvsps + cvsps: $(OBJS) + $(CC) -o cvsps $(OBJS) -lz + ++.c.o: ++ $(CC) $(CFLAGS) -c -o $@ $< ++ + install: + [ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin + [ -d $(prefix)/share/man/man1 ] || mkdir -p $(prefix)/share/man/man1 diff --git a/devel/cvsps/patches/patch-cvsps_1 b/devel/cvsps/patches/patch-cvsps_1 new file mode 100644 index 00000000000..55494c354ed --- /dev/null +++ b/devel/cvsps/patches/patch-cvsps_1 @@ -0,0 +1,14 @@ +$OpenBSD: patch-cvsps_1,v 1.1 2012/07/18 10:42:27 naddy Exp $ +--- cvsps.1.orig Wed Jul 18 00:30:20 2012 ++++ cvsps.1 Wed Jul 18 00:30:31 2012 +@@ -10,8 +10,8 @@ repository. A patchset in this case is defined as a s + to a collection of files, and all committed at the same time (using a + single 'cvs commit' command). This information is valuable to seeing the + big picture of the evolution of a cvs project. While cvs tracks revision +-information, it is often difficult to see what changes were committed +-'atomically' to the repository. ++information, it is often difficult to see what changes were ++committed 'atomically' to the repository. + .SH OPTIONS + .TP + .B \-h diff --git a/devel/cvsps/patches/patch-cvsps_c b/devel/cvsps/patches/patch-cvsps_c index e6a1e8e595c..8134c39fb83 100644 --- a/devel/cvsps/patches/patch-cvsps_c +++ b/devel/cvsps/patches/patch-cvsps_c @@ -1,7 +1,7 @@ -$OpenBSD: patch-cvsps_c,v 1.1 2005/12/20 06:01:34 pvalchev Exp $ ---- cvsps.c.orig Mon Dec 19 22:12:28 2005 -+++ cvsps.c Mon Dec 19 22:12:33 2005 -@@ -2550,9 +2550,9 @@ static void determine_branch_ancestor(Pa +$OpenBSD: patch-cvsps_c,v 1.2 2012/07/18 10:42:27 naddy Exp $ +--- cvsps.c.orig Thu May 26 05:39:40 2005 ++++ cvsps.c Wed Jul 18 00:30:09 2012 +@@ -2550,9 +2550,9 @@ static void determine_branch_ancestor(PatchSet * ps, P for (next = ps->members.next; next != &ps->members; next = next->next) {