aboutsummaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 07:13:35 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 07:13:35 +0000
commit6db96c05006f9dc75e9717730eb1a12a7476f363 (patch)
tree0b0138a6c6fb473a21e0292bbb3459d380585f98 /graphics/png
parent99f7f4ed1d019afc8569d71a7fd14c359dc0cd1e (diff)
downloadports-6db96c05006f9dc75e9717730eb1a12a7476f363.tar.gz
ports-6db96c05006f9dc75e9717730eb1a12a7476f363.zip
Notes
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile6
-rw-r--r--graphics/png/files/patch-aa6
-rw-r--r--graphics/png/pkg-plist2
3 files changed, 9 insertions, 5 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 350a4baffb47..1a8b1a2e4fc2 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -22,8 +22,12 @@ PATCH_SITES= ftp://ftp.libpng.org/pub/png/src/
MAINTAINER= ache@FreeBSD.org
INSTALLS_SHLIB= yes
+SHLIB_VER= 4
-MAN3= libpng.3 libpngpf.3
+MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
+PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
+
+MAN3= libpng.4 libpngpf.3
MAN5= png.5
do-configure:
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index d7002498835e..566d7e34121c 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -1,5 +1,5 @@
---- scripts/makefile.std.orig Fri Jul 31 23:15:22 1998
-+++ scripts/makefile.std Sat Jan 23 14:08:51 1999
+--- scripts/makefile.std.orig Thu Dec 9 01:44:40 1999
++++ scripts/makefile.std Tue Jul 4 09:16:46 2000
@@ -2,18 +2,30 @@
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
# For conditions of distribution and use, see copyright notice in png.h
@@ -8,7 +8,7 @@
+# have to change it.
+# I bump PNGMAJ to 3, because imlib can't work with png 1.0.2.
+# I should bump PNGMAJ for ports depend.
-+PNGMAJ = 3
++PNGMAJ = $(SHLIB_VER)
+.if (${PORTOBJFORMAT} == "elf")
+PNGVER = $(PNGMAJ)
+.else
diff --git a/graphics/png/pkg-plist b/graphics/png/pkg-plist
index 0106ac62a87c..6ee9f0ba0b3b 100644
--- a/graphics/png/pkg-plist
+++ b/graphics/png/pkg-plist
@@ -1,6 +1,6 @@
include/png.h
include/pngconf.h
lib/libpng.a
-lib/libpng.so.3
+lib/libpng.so.%%SHLIB_VER%%
@exec ln -sf %f %B/libpng.so
@unexec rm -f %B/libpng.so