summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1999-04-10 20:28:42 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1999-04-10 20:28:42 +0000
commit071479247d727f178082badc4eb5e435e691433c (patch)
treee39f51d78cde421b867015ee03a3b756cabc5d94 /graphics
parentUpdate inn stable to inn-STABLE_2_2-1999-04-08_03-01 (diff)
Import of graphics/libimg
This is an image format handler for Tk. It handles the following image formats: bmp, gif, png, jpeg, tiff, xpm, xbm, and postscript. PR: ports/10234 Submitted by: Glenn Johnson <gljohns@bellsouth.net>
Notes
Notes: svn path=/head/; revision=17764
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libimg/Makefile33
-rw-r--r--graphics/libimg/distinfo1
-rw-r--r--graphics/libimg/files/patch-aa24
-rw-r--r--graphics/libimg/pkg-comment1
-rw-r--r--graphics/libimg/pkg-descr7
-rw-r--r--graphics/libimg/pkg-plist10
6 files changed, 76 insertions, 0 deletions
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
new file mode 100644
index 000000000000..79fd6202a37f
--- /dev/null
+++ b/graphics/libimg/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: img
+# Version required: 1.1
+# Date Created: 20 February 1999
+# Whom: Glenn Johnson
+#
+# $Id$
+#
+
+DISTNAME= img1.1.4
+PKGNAME= libimg-1.1.4
+CATEGORIES= graphics tk80
+MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/sorted/packages-8.0/graphics/Img/1.1.4/
+
+MAINTAINER= gljohns@bellsouth.net
+
+LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 \
+ png.3:${PORTSDIR}/graphics/png \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ tiff.4:${PORTSDIR}/graphics/tiff34
+
+WRKSRC= ${WRKDIR}/img1.1
+
+ALL_TARGET= default
+INSTALL_TARGET= install-base
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0 --with-tk=${PREFIX}/lib/tk8.0
+
+post-install:
+ ${LN} -sf ${PREFIX}/lib/Img1.1/libimg1.1.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/distinfo b/graphics/libimg/distinfo
new file mode 100644
index 000000000000..bd07e4a37783
--- /dev/null
+++ b/graphics/libimg/distinfo
@@ -0,0 +1 @@
+MD5 (img1.1.4.tar.gz) = 11ab17a90f9f8e745f8fe4f07abc3cd7
diff --git a/graphics/libimg/files/patch-aa b/graphics/libimg/files/patch-aa
new file mode 100644
index 000000000000..de72ce1ac99c
--- /dev/null
+++ b/graphics/libimg/files/patch-aa
@@ -0,0 +1,24 @@
+--- configure.orig Thu Nov 19 03:50:52 1998
++++ configure Sun Feb 21 00:53:23 1999
+@@ -978,8 +978,8 @@
+ TCL_INC_DIR=${TCL_TOP_DIR}/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/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
+ else
+ TCL_INC_DIR=$prefix/include
+ fi
+@@ -1091,8 +1091,8 @@
+ TK_INC_DIR=${TK_TOP_DIR}/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/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
+ else
+ TK_INC_DIR=$prefix/include
+ fi
diff --git a/graphics/libimg/pkg-comment b/graphics/libimg/pkg-comment
new file mode 100644
index 000000000000..5e6a50978012
--- /dev/null
+++ b/graphics/libimg/pkg-comment
@@ -0,0 +1 @@
+A library of image format handlers for Tk4.1 and later.
diff --git a/graphics/libimg/pkg-descr b/graphics/libimg/pkg-descr
new file mode 100644
index 000000000000..568b1c177885
--- /dev/null
+++ b/graphics/libimg/pkg-descr
@@ -0,0 +1,7 @@
+This is an image format handler for Tk. It handles the following image
+formats:
+
+bmp, gif, png, jpeg, tiff, xpm, xbm, and postscript.
+
+Using this library with Tcl/Tk applications allows one to work with
+photos and images in the application.
diff --git a/graphics/libimg/pkg-plist b/graphics/libimg/pkg-plist
new file mode 100644
index 000000000000..64acb9629dd2
--- /dev/null
+++ b/graphics/libimg/pkg-plist
@@ -0,0 +1,10 @@
+lib/Img1.1/tests/all
+lib/Img1.1/pkgIndex.tcl
+lib/Img1.1/demo.tcl
+lib/Img1.1/tkv.tcl
+lib/Img1.1/libimg1.1.so.1
+lib/libimg.so.1
+lib/libimg.so
+@dirrm lib/Img1.1/tests
+@dirrm lib/Img1.1
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R