Install libpng.pc as symlink to libpng12.pc, some ports search it.
Submitted by: Tim Bishop <tim@bishnet.net> (partially)
This commit is contained in:
parent
8440912e45
commit
7803f4abd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204233
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= png
|
||||
PORTVERSION= 1.2.23
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= lib${PORTNAME}
|
||||
|
@ -49,5 +50,6 @@ post-install:
|
|||
> ${WRKSRC}/scripts/libpng.pc
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/libpng.pc \
|
||||
${PREFIX}/libdata/pkgconfig/libpng12.pc
|
||||
${LN} -sf libpng12.pc ${PREFIX}/libdata/pkgconfig/libpng.pc
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -11,4 +11,6 @@ lib/libpng.a
|
|||
lib/libpng.so
|
||||
lib/libpng.so.%%SHLIB_VER%%
|
||||
libdata/pkgconfig/libpng12.pc
|
||||
@exec ln -sf %f %D/libdata/pkgconfig/libpng.pc
|
||||
@unexec rm -f %D/libdata/pkgconfig/libpng.pc
|
||||
@dirrm include/libpng
|
||||
|
|
Loading…
Reference in a new issue