pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/png Install lib/pkgconfig/libpng12.pc, otherw...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c902ead740b9
branches:  trunk
changeset: 471119:c902ead740b9
user:      ben <ben%pkgsrc.org@localhost>
date:      Thu Mar 18 22:40:40 2004 +0000

description:
Install lib/pkgconfig/libpng12.pc, otherwise "pkgconfig --list-all" will
fail with an error if imlib2 is installed.

diffstat:

 graphics/png/Makefile |  7 ++++++-
 graphics/png/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r bd36a6ba96e3 -r c902ead740b9 graphics/png/Makefile
--- a/graphics/png/Makefile     Thu Mar 18 22:11:11 2004 +0000
+++ b/graphics/png/Makefile     Thu Mar 18 22:40:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2004/02/08 04:03:15 jlam Exp $
+# $NetBSD: Makefile,v 1.55 2004/03/18 22:40:40 ben Exp $
 
 # On update, don't forget to increase shared library major/minor's in
 # accordance with changes (patch-aa).
@@ -35,10 +35,15 @@
 
 INSTALLATION_DIRS=     include lib man/man3 man/man5
 
+post-build:
+       cd ${WRKSRC}/scripts && \
+               ${SED} -e s\!@PREFIX@!${PREFIX}! <libpng.pc.in >libpng12.pc
+
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
        ${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3
        ${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
+       ${INSTALL_DATA} ${WRKSRC}/scripts/libpng12.pc ${PREFIX}/lib/pkgconfig/
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bd36a6ba96e3 -r c902ead740b9 graphics/png/PLIST
--- a/graphics/png/PLIST        Thu Mar 18 22:11:11 2004 +0000
+++ b/graphics/png/PLIST        Thu Mar 18 22:40:40 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2002/08/25 18:39:20 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/03/18 22:40:40 ben Exp $
 include/png.h
 include/pngconf.h
 lib/libpng.a
@@ -6,6 +6,7 @@
 lib/libpng.so
 lib/libpng.so.${LIBPNG_SO_MAJOR}
 lib/libpng.so.${LIBPNG_SO_MAJOR}.${LIBPNG_SO_MINOR}
+lib/pkgconfig/libpng12.pc
 man/man3/libpng.3
 man/man3/libpngpf.3
 man/man5/png.5



Home | Main Index | Thread Index | Old Index