Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 00:01:09 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61074: Update port: devel/libformat to 1.1
Message-ID:  <20040109000109.2cdac794.tkato@prontomail.com>
Resent-Message-ID: <200401081510.i08FAIoo094844@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61074
>Category:       ports
>Synopsis:       Update port: devel/libformat to 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 08 07:10:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 1.1

New file:
files/Makefile.lib

Remove file:
files/patch-ltmain.sh

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libformat/Makefile devel/libformat/Makefile
--- /usr/ports/devel/libformat/Makefile	Sat Apr 12 22:41:15 2003
+++ devel/libformat/Makefile	Tue Dec 30 00:29:25 2003
@@ -7,29 +7,21 @@
 #
 
 PORTNAME=	libformat
-PORTVERSION=	0.1.7
-PORTREVISION=	1
+PORTVERSION=	1.1
 CATEGORIES=	devel
-MASTER_SITES=	http://home.pages.at/kingleo/development/
-DISTNAME=	Format-${PORTVERSION}
+MASTER_SITES=	http://kingleo.pages.at/development/cpp/
+DISTNAME=	${PORTNAME:S/^lib//}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ library that supports printf style like format printing
 
-USE_REINPLACE=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+MAKEFILE=	${FILESDIR}/Makefile.lib
 INSTALLS_SHLIB=	yes
 
-MAN3=	Format.3
-
-post-patch:
-	@${REINPLACE_CMD} -e 's| install-data-local||g' ${WRKSRC}/doc/Makefile.in
-
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for file in doc/Format.html doc/Format.txt src/testMakefile src/testformat.cpp
+.for file in ChangeLog README testformat.cpp
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
diff -urN /usr/ports/devel/libformat/distinfo devel/libformat/distinfo
--- /usr/ports/devel/libformat/distinfo	Sun Apr 21 00:24:12 2002
+++ devel/libformat/distinfo	Tue Dec 30 00:12:59 2003
@@ -1 +1 @@
-MD5 (Format-0.1.7.tar.gz) = 935bc16964348cf3e38ec2ea7610582e
+MD5 (format-1.1.tar.gz) = d94b8ade7cbf7bae2dea044f7535f6b7
diff -urN /usr/ports/devel/libformat/files/Makefile.lib devel/libformat/files/Makefile.lib
--- /usr/ports/devel/libformat/files/Makefile.lib	Thu Jan  1 09:00:00 1970
+++ devel/libformat/files/Makefile.lib	Tue Dec 30 00:18:23 2003
@@ -0,0 +1,17 @@
+PREFIX?=	/usr/local
+SHLIB_VER?=	1
+
+LIB=	format
+LIBDIR=	${PREFIX}/lib
+SHLIB_MAJOR=	${SHLIB_VER}
+SHLIB_MINOR=	0
+NOPROFILE=	true
+NOOBJ=	true
+
+INCS=	format.h
+INCSDIR=	${PREFIX}/include
+INCDIR=	${INCSDIR}			# for pre-bsd.incs.mk API
+
+SRCS=	format.cpp
+
+.include <bsd.lib.mk>
diff -urN /usr/ports/devel/libformat/files/patch-ltmain.sh devel/libformat/files/patch-ltmain.sh
--- /usr/ports/devel/libformat/files/patch-ltmain.sh	Sun Apr 21 00:24:12 2002
+++ devel/libformat/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
---- ltmain.sh.orig	Thu Jan 10 04:26:41 2002
-+++ ltmain.sh	Wed Apr 17 01:13:43 2002
-@@ -4247,10 +4247,12 @@
- 	fi
- 
- 	# Install the pseudo-library for information purposes.
-+	if /usr/bin/false; then
- 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- 	instname="$dir/$name"i
- 	$show "$install_prog $instname $destdir/$name"
- 	$run eval "$install_prog $instname $destdir/$name" || exit $?
-+	fi
- 
- 	# Maybe install the static library, too.
- 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/devel/libformat/pkg-plist devel/libformat/pkg-plist
--- /usr/ports/devel/libformat/pkg-plist	Sun Apr 21 00:24:12 2002
+++ devel/libformat/pkg-plist	Tue Dec 30 00:21:54 2003
@@ -1,9 +1,8 @@
-include/Format.hh
-lib/libFormat.a
-lib/libFormat.so
-lib/libFormat.so.0
-%%PORTDOCS%%share/doc/libformat/Format.html
-%%PORTDOCS%%share/doc/libformat/Format.txt
-%%PORTDOCS%%share/doc/libformat/testMakefile
-%%PORTDOCS%%share/doc/libformat/testformat.cpp
-%%PORTDOCS%%@dirrm share/doc/libformat
+include/format.h
+lib/libformat.a
+lib/libformat.so
+lib/libformat.so.1
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/testformat.cpp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109000109.2cdac794.tkato>