aboutsummaryrefslogtreecommitdiff
path: root/graphics/libimg
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
commitbc087374d35aa9c841dd63d44e9c9697702921ed (patch)
tree9bfffecdf0e79fc2f3af0e2a2f1044536ad164ca /graphics/libimg
parent3689fb2140698b1b4eff0933fe730262b161f533 (diff)
downloadports-bc087374d35aa9c841dd63d44e9c9697702921ed.tar.gz
ports-bc087374d35aa9c841dd63d44e9c9697702921ed.zip
Notes
Diffstat (limited to 'graphics/libimg')
-rw-r--r--graphics/libimg/Makefile8
-rw-r--r--graphics/libimg/files/patch-aa8
-rw-r--r--graphics/libimg/pkg-plist5
3 files changed, 11 insertions, 10 deletions
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
index ae11ab1dd7a8..0592ca14fe17 100644
--- a/graphics/libimg/Makefile
+++ b/graphics/libimg/Makefile
@@ -8,12 +8,12 @@
DISTNAME= img1.2.2
PKGNAME= libimg-1.2.2
-CATEGORIES= graphics tk80
+CATEGORIES= graphics tk82
MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/sorted/packages-8.0/graphics/Img/1.2/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 \
+LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
png.3:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
@@ -23,11 +23,11 @@ WRKSRC= ${WRKDIR}/img1.2.2
ALL_TARGET= default
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0 --with-tk=${PREFIX}/lib/tk8.0 \
+CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tk=${PREFIX}/lib/tk8.2 \
--disable-stubs
post-install:
- ${LN} -sf ${PREFIX}/lib/Img1.2/libimg1.2.so.1 ${PREFIX}/lib/libimg.so.1
+ ${LN} -sf ${PREFIX}/lib/Img1.2/libimg82.so.1 ${PREFIX}/lib/libimg.so.1
${LN} -sf ${PREFIX}/lib/libimg.so.1 ${PREFIX}/lib/libimg.so
.include <bsd.port.mk>
diff --git a/graphics/libimg/files/patch-aa b/graphics/libimg/files/patch-aa
index e1c91b9fab91..3cbccff2d2e4 100644
--- a/graphics/libimg/files/patch-aa
+++ b/graphics/libimg/files/patch-aa
@@ -6,8 +6,8 @@
TCL_INC_DIR=${TCL_EXEC_PREFIX}/include
-elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl.h; then
- TCL_INC_DIR=${TCL_EXEC_PREFIX}/include
-+elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl8.0/tcl.h; then
-+ TCL_INC_DIR=${TCL_EXEC_PREFIX}/include/tcl8.0
++elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl8.2/tcl.h; then
++ TCL_INC_DIR=${TCL_EXEC_PREFIX}/include/tcl8.2
else
TCL_INC_DIR=$prefix/include
fi
@@ -17,8 +17,8 @@
TK_INC_DIR=${TK_EXEC_PREFIX}/include
-elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk.h; then
- TK_INC_DIR=${TK_EXEC_PREFIX}/include
-+elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk8.0/tk.h; then
-+ TK_INC_DIR=${TK_EXEC_PREFIX}/include/tk8.0
++elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk8.2/tk.h; then
++ TK_INC_DIR=${TK_EXEC_PREFIX}/include/tk8.2
else
TK_INC_DIR=$prefix/include
fi
diff --git a/graphics/libimg/pkg-plist b/graphics/libimg/pkg-plist
index c33f5e299748..95f1b27510c4 100644
--- a/graphics/libimg/pkg-plist
+++ b/graphics/libimg/pkg-plist
@@ -1,6 +1,7 @@
lib/Img1.2/pkgIndex.tcl
-lib/Img1.2/libimg1.2.so.1
+lib/Img1.2/libimg82.so.1
lib/libimg.so.1
lib/libimg.so
-@dirrm lib/Img1.2
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@dirrm lib/Img1.2