pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libungif Create "libgif.la" from "libungif.la...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfc2f2519e40
branches:  trunk
changeset: 482306:bfc2f2519e40
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Oct 25 07:08:42 2004 +0000

description:
Create "libgif.la" from "libungif.la" and fix symbolic link creation and
package list handling broken my "libtool" changes. Bump package
revision because of this.

diffstat:

 graphics/libungif/Makefile |  19 +++++++++++++------
 graphics/libungif/PLIST    |   7 ++-----
 2 files changed, 15 insertions(+), 11 deletions(-)

diffs (60 lines):

diff -r 995262c7a02f -r bfc2f2519e40 graphics/libungif/Makefile
--- a/graphics/libungif/Makefile        Mon Oct 25 02:00:28 2004 +0000
+++ b/graphics/libungif/Makefile        Mon Oct 25 07:08:42 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2004/10/03 00:14:55 tv Exp $
+# $NetBSD: Makefile,v 1.32 2004/10/25 07:08:42 tron Exp $
 
 DISTNAME=      libungif-4.1.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libungif/}
 EXTRACT_SUFX=  .tar.bz2
@@ -31,10 +31,16 @@
        ${RM} ${WRKSRC}/doc/gif2x11.html
 
 post-install:
-       cd ${PREFIX}; \
-       for f in libungif.a libungif.so libungif.so.5 libungif.so.5.3; do \
-               g=`echo $$f | ${SED} "s,libungif,libgif,"`; \
-               ${LN} -sf $$f ${PREFIX}/lib/$$g; \
+       cd ${PREFIX}/lib &&                                             \
+       for SOURCE in libungif.*; do                                    \
+         TARGET=`echo $$SOURCE | sed -e s/libungif/libgif/`;           \
+         ${RM} -f $$TARGET;                                            \
+         if [ $$SOURCE = libungif.la ]; then                           \
+           ${SED} -e s/libungif/libgif/g $$SOURCE >$$TARGET;           \
+           ${CHMOD} 755 $$TARGET;                                      \
+         else                                                          \
+           ${LN} -s $$SOURCE $$TARGET;                                 \
+         fi;                                                           \
        done
        ${INSTALL_DATA_DIR} ${DOCDIR}
        cd ${WRKSRC}; ${INSTALL_DATA} COPYING UNCOMPRESSED_GIF ${DOCDIR}
@@ -42,3 +48,4 @@
        cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${HTMLDIR}
 
 .include "../../mk/bsd.pkg.mk"
+
diff -r 995262c7a02f -r bfc2f2519e40 graphics/libungif/PLIST
--- a/graphics/libungif/PLIST   Mon Oct 25 02:00:28 2004 +0000
+++ b/graphics/libungif/PLIST   Mon Oct 25 07:08:42 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2004/09/22 08:09:36 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/10/25 07:08:42 tron Exp $
 bin/gif2epsn
 bin/gif2ps
 bin/gif2rgb
@@ -29,10 +29,7 @@
 bin/rgb2gif
 bin/text2gif
 include/gif_lib.h
-lib/libgif.a
-lib/libgif.so
-lib/libgif.so.5
-lib/libgif.so.5.3
+lib/libgif.la
 lib/libungif.la
 share/doc/html/libungif/GifFileType.png
 share/doc/html/libungif/gif2bgi.html



Home | Main Index | Thread Index | Old Index