ports/53178: [PATCH] Update devel/c2lib to 1.4.2, take maintainership

Sergei Kolobov sergei at kolobov.com
Wed Jun 11 00:10:21 UTC 2003


>Number:         53178
>Category:       ports
>Synopsis:       [PATCH] Update devel/c2lib to 1.4.2, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 17:10:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun  5 02:19:41 MSD
>Description:
In memory of AlanE:

- Update to 1.4.2
- Makefile cleanup
- Reword pkg-descr, add Author tag
- Adopt this orphan
>How-To-Repeat:
>Fix:
--- c2lib-1.4.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/c2lib/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	2003/06/08 21:13:44	1.19
+++ Makefile	2003/06/11 00:00:04
@@ -1,5 +1,3 @@
-# ex:ts=8	-*-mode: makefile-*-
-#
 # New ports collection makefile for:	c2lib
 # Date created:		2002-12-22
 # Whom:			Alan Eldridge <alane at FreeBSD.org>
@@ -8,35 +6,28 @@
 #
 
 PORTNAME=	c2lib
-PORTVERSION=	1.4.1
-PORTREVISION=	0
-PORTEPOCH=	0
+PORTVERSION=	1.4.2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.annexia.org/freeware/${PORTNAME}/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	sergei at kolobov.com
 COMMENT=	Library of basic structures and memory allocators for C
 
-BUILD_DEPENDS+=	cdoc:${.CURDIR}/../../devel/cdoc
-BUILD_DEPENDS+=	make+:${.CURDIR}/../../devel/makeplus
-LIB_DEPENDS+=	pcre.0:${.CURDIR}/../../devel/pcre
-
-USE_GMAKE=	yes
-PREFIX?=	${LOCALBASE}
-MAKE_ENV+=	CC="${CC}"
-.include <bsd.port.pre.mk>
+BUILD_DEPENDS=	cdoc:${PORTSDIR}/devel/cdoc \
+		make+:${PORTSDIR}/devel/makeplus
+LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
+
+INSTALLS_SHLIB=	yes
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
+PLIST_SUB=	VERSION=${PORTVERSION}
 
-do-configure:
-	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make+ configure
+.include "${.CURDIR}/files/manpages.mk"
 
 do-build:
-	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make+
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+
 
 do-install:
-	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV}\
-		make+ install prefix=${PREFIX} manprefix=${PREFIX}
-
-.include "${FILESDIR}/manpages.mk"
-.include <bsd.port.post.mk>
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+ install 
 
-#EOF
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/c2lib/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	2003/02/10 05:14:43	1.10
+++ distinfo	2003/06/11 00:00:04
@@ -1 +1 @@
-MD5 (c2lib-1.4.1.tar.gz) = 72e1e9ba877b6530b7603f14ff777d42
+MD5 (c2lib-1.4.2.tar.gz) = ba49054f196d73d8132d72609d7c453d
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/devel/c2lib/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	2001/02/16 11:07:05	1.1
+++ pkg-descr	2003/06/11 00:00:04
@@ -1,5 +1,10 @@
-c2lib is a library of basic structures and memory allocators for C.
-It is designed to look similar to C++ STL with many powerful string
-features borrowed also from Perl. 
+c2lib is a library of basic tools for use by C programmers. 
+It contains a pool allocator, many string functions, STL-like 
+vector and hash types and miscellaneous utilities.
 
-WWW: http://www.annexia.org/freeware/c2lib/
+Its features were heavily influenced by both Perl's string handling 
+and C++'s Standard Template Library (STL). The library has been designed 
+to be very easy to use and is fully documented in manual pages.
+
+Author:	Richard W.M. Jones <rich at annexia.org>
+WWW:	http://www.annexia.org/freeware/c2lib/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/c2lib/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	2003/02/10 23:46:13	1.4
+++ pkg-plist	2003/06/11 00:00:04
@@ -5,11 +5,11 @@
 include/c2lib/pstring.h
 include/c2lib/tree.h
 include/c2lib/vector.h
+ at dirrm include/c2lib
 lib/libc2lib.a
 lib/libc2lib.so
 lib/libc2lib.so.1
-lib/libc2lib.so.1.4.1
+lib/libc2lib.so.%%VERSION%%
 share/rws/symtabs/libc2lib.syms
- at dirrm share/rws/symtabs
- at dirrm share/rws
- at dirrm include/c2lib
+ at unexec rmdir share/rws/symtabs 2>/dev/null || true
+ at unexec rmdir share/rws 2>/dev/null || true
--- c2lib-1.4.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list