diff options
author | ben <ben@pkgsrc.org> | 2004-03-18 22:40:40 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-03-18 22:40:40 +0000 |
commit | 27f414b735f1242fce960c0e1496b5f8ee0a5ba6 (patch) | |
tree | 964a120f5ab967dfc65224c41ed9e0ff893f4be7 | |
parent | a276256b57e0668377fae278700b730b0ac22815 (diff) | |
download | pkgsrc-27f414b735f1242fce960c0e1496b5f8ee0a5ba6.tar.gz |
Install lib/pkgconfig/libpng12.pc, otherwise "pkgconfig --list-all" will
fail with an error if imlib2 is installed.
-rw-r--r-- | graphics/png/Makefile | 7 | ||||
-rw-r--r-- | graphics/png/PLIST | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 612659c5d19..a9ef552fec5 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -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 @@ PLIST_SUBST+= LIBPNG_SO_MINOR=${LIBPNG_SO_MINOR} 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 --git a/graphics/png/PLIST b/graphics/png/PLIST index 2bf1c7c2f2c..16d5950b02b 100644 --- a/graphics/png/PLIST +++ b/graphics/png/PLIST @@ -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.la 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 |