summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1999-04-10 20:28:42 +0000
committerjseger <jseger@FreeBSD.org>1999-04-10 20:28:42 +0000
commit384cfd77d2aaca3cf558112bb09f19f6c5352462 (patch)
treeb8d09a7603d004ccaebcc1d468542100e2eef45e
parentc8e5de47157a2ea451e53a9e399093c2aabe2eef (diff)
downloadFreeBSD-ports-384cfd77d2aaca3cf558112bb09f19f6c5352462.zip
FreeBSD-ports-384cfd77d2aaca3cf558112bb09f19f6c5352462.tar.gz
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>
-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 0000000..79fd620
--- /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 0000000..bd07e4a
--- /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 0000000..de72ce1
--- /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 0000000..5e6a509
--- /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 0000000..568b1c1
--- /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 0000000..64acb96
--- /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
OpenPOWER on IntegriCloud