From 384cfd77d2aaca3cf558112bb09f19f6c5352462 Mon Sep 17 00:00:00 2001 From: jseger Date: Sat, 10 Apr 1999 20:28:42 +0000 Subject: 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 --- graphics/libimg/Makefile | 33 +++++++++++++++++++++++++++++++++ graphics/libimg/distinfo | 1 + graphics/libimg/files/patch-aa | 24 ++++++++++++++++++++++++ graphics/libimg/pkg-comment | 1 + graphics/libimg/pkg-descr | 7 +++++++ graphics/libimg/pkg-plist | 10 ++++++++++ 6 files changed, 76 insertions(+) create mode 100644 graphics/libimg/Makefile create mode 100644 graphics/libimg/distinfo create mode 100644 graphics/libimg/files/patch-aa create mode 100644 graphics/libimg/pkg-comment create mode 100644 graphics/libimg/pkg-descr create mode 100644 graphics/libimg/pkg-plist (limited to 'graphics/libimg') 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 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 -- cgit v1.1