ports/71880: Update port: graphics/giblib to 1.2.4

KATO Tsuguru tkato432 at yahoo.com
Sat Sep 18 16:40:49 UTC 2004


>Number:         71880
>Category:       ports
>Synopsis:       Update port: graphics/giblib to 1.2.4
>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:   Sat Sep 18 16:40:45 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.4

Remove file:
files/patch-aa
files/patch-ltmain.sh

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/giblib/Makefile graphics/giblib/Makefile
--- /usr/ports/graphics/giblib/Makefile	Tue Dec 16 11:34:15 2003
+++ graphics/giblib/Makefile	Sun Sep  5 20:59:44 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	giblib
-PORTVERSION=	1.2.3
+PORTVERSION=	1.2.4
 CATEGORIES=	graphics devel
 MASTER_SITES=	http://www.linuxbrit.co.uk/downloads/
 
@@ -16,12 +16,20 @@
 LIB_DEPENDS=	Imlib2.2:${PORTSDIR}/graphics/imlib2
 
 USE_X_PREFIX=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GNOME=	gnomehack gnometarget pkgconfig
+USE_REINPLACE=	yes
+USE_LIBTOOL_VER=	15
 INSTALLS_SHLIB=	yes
 
-.if defined(NOPORTDOCS)
-MAKE_ENV=	NO_DOC=yes
+post-patch:
+	@${REINPLACE_CMD} -e 's|: install-docsDATA|:|g' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog README TODO
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/giblib/distinfo graphics/giblib/distinfo
--- /usr/ports/graphics/giblib/distinfo	Thu Jan 29 20:25:45 2004
+++ graphics/giblib/distinfo	Sun Sep  5 20:49:20 2004
@@ -1,2 +1,2 @@
-MD5 (giblib-1.2.3.tar.gz) = 06ae3113fdfe9f05a642bd844cc85eab
-SIZE (giblib-1.2.3.tar.gz) = 185190
+MD5 (giblib-1.2.4.tar.gz) = c810ef5389baf24882a1caca2954385e
+SIZE (giblib-1.2.4.tar.gz) = 287653
diff -urN /usr/ports/graphics/giblib/files/patch-aa graphics/giblib/files/patch-aa
--- /usr/ports/graphics/giblib/files/patch-aa	Mon Jan 28 02:07:29 2002
+++ graphics/giblib/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,27 +0,0 @@
---- Makefile.in.orig	Sat Jan 26 10:05:59 2002
-+++ Makefile.in	Sun Jan 27 10:27:32 2002
-@@ -84,7 +84,7 @@
- SUBDIRS = giblib
- 
- docs_DATA = README AUTHORS ChangeLog TODO
--docsdir = $(prefix)/doc/giblib
-+docsdir = $(datadir)/doc/giblib
- 
- EXTRA_DIST = $(docs_DATA)
- 
-@@ -174,6 +174,7 @@
- 	done
- 
- install-docsDATA: $(docs_DATA)
-+.if !defined(NO_DOC)
- 	@$(NORMAL_INSTALL)
- 	$(mkinstalldirs) $(DESTDIR)$(docsdir)
- 	@list='$(docs_DATA)'; for p in $$list; do \
-@@ -185,6 +186,7 @@
- 	    $(INSTALL_DATA) $$p $(DESTDIR)$(docsdir)/$$p; \
- 	  fi; fi; \
- 	done
-+.endif
- 
- uninstall-docsDATA:
- 	@$(NORMAL_UNINSTALL)
diff -urN /usr/ports/graphics/giblib/files/patch-ltmain.sh graphics/giblib/files/patch-ltmain.sh
--- /usr/ports/graphics/giblib/files/patch-ltmain.sh	Mon Jan 28 02:07:29 2002
+++ graphics/giblib/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
---- ltmain.sh.orig	Wed Jan  9 13:26:41 2002
-+++ ltmain.sh	Sat Jan 26 10:40:27 2002
-@@ -2359,6 +2359,9 @@
- 	    # problems, so we reset it completely
- 	    verstring=""
- 	    ;;
-+	  *-*-freebsd*)
-+	    # FreeBSD doesn't need this...
-+	    ;;
- 	  *)
- 	    verstring="0.0"
- 	    ;;
-@@ -4247,10 +4250,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/graphics/giblib/pkg-plist graphics/giblib/pkg-plist
--- /usr/ports/graphics/giblib/pkg-plist	Tue Jun 24 07:14:36 2003
+++ graphics/giblib/pkg-plist	Sun Sep  5 21:00:28 2004
@@ -14,9 +14,10 @@
 lib/libgiblib.a
 lib/libgiblib.so
 lib/libgiblib.so.1
-%%PORTDOCS%%share/doc/giblib/AUTHORS
-%%PORTDOCS%%share/doc/giblib/ChangeLog
-%%PORTDOCS%%share/doc/giblib/README
-%%PORTDOCS%%share/doc/giblib/TODO
+libdata/pkgconfig/giblib.pc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/giblib
-%%PORTDOCS%%@dirrm share/doc/giblib
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list