aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-02-19 07:19:12 +0800
committerache <ache@FreeBSD.org>2003-02-19 07:19:12 +0800
commit7cb47f7a3b2a03ce77fb17cd98f69a8d9b9f038d (patch)
tree98674311a09ac9474b43ec482e5f6726a66a03cf /graphics/png
parent4e88e8af0dd2684ddf91b958c38fd84abf836556 (diff)
downloadfreebsd-ports-gnome-7cb47f7a3b2a03ce77fb17cd98f69a8d9b9f038d.tar.gz
freebsd-ports-gnome-7cb47f7a3b2a03ce77fb17cd98f69a8d9b9f038d.tar.zst
freebsd-ports-gnome-7cb47f7a3b2a03ce77fb17cd98f69a8d9b9f038d.zip
Fix symlink, add unexec rmdir
Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile2
-rw-r--r--graphics/png/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 9bc737be122a..21d38a936114 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -7,7 +7,7 @@
PORTNAME= png
PORTVERSION= 1.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.libpng.org/pub/png/src/ \
ftp://swrinde.nde.swri.edu/pub/png/src/ \
diff --git a/graphics/png/pkg-plist b/graphics/png/pkg-plist
index 0d7d6c0d7d3d..94090578516e 100644
--- a/graphics/png/pkg-plist
+++ b/graphics/png/pkg-plist
@@ -5,8 +5,8 @@ include/libpng/pngconf.h
@exec ln -sf libpng/%f %D/include/%f
@unexec rm -f %D/include/%f
lib/libpng.a
+lib/libpng.so
lib/libpng.so.%%SHLIB_VER%%
libdata/pkgconfig/libpng12.pc
-@exec ln -sf %f %B/libpng.so
-@unexec rm -f %B/libpng.so
@dirrm include/libpng
+@unexec rmdir libdata/pkgconfig 2>/dev/null || true