summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-02-18 23:19:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-02-18 23:19:12 +0000
commit3ccde8385e946ba09170b5dbf8503357b7d9686a (patch)
treeb5b9e2428fadc38c15e6499de08f6d24cf9a5dd5 /graphics/png
parentUpdate to 1.2.3. (diff)
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