Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 23:19:13 -0600 (CST)
From:      Glenn Johnson <gljohns@bellsouth.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10234: New port of libimg for Tcl/Tk image handling.
Message-ID:  <199902240519.XAA37925@gforce.johnson.home>

next in thread | raw e-mail | index | archive | help

>Number:         10234
>Category:       ports
>Synopsis:       New port of libimg for Tcl/Tk image handling.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:

	

>Description:

	New port of libimg-1.1.4, an image handler for Tcl/Tk programs.

>How-To-Repeat:

	

>Fix:
	
	Extract the following into $PORTSDIR/graphics. Note that the 
graphic libray version numbers that are displayed during the build represent 
the minimum versions necessary; the port uses system libraries and libraries 
from other ports appropriately.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libimg
#	libimg/Makefile
#	libimg/files
#	libimg/files/md5
#	libimg/patches
#	libimg/patches/patch-aa
#	libimg/pkg
#	libimg/pkg/PLIST
#	libimg/pkg/COMMENT
#	libimg/pkg/DESCR
#
echo c - libimg
mkdir -p libimg > /dev/null 2>&1
echo x - libimg/Makefile
sed 's/^X//' >libimg/Makefile << 'END-of-libimg/Makefile'
X# New ports collection makefile for:	img
X# Version required:			1.1
X# Date Created:				20February 1999
X# Whom:					Glenn Johnson
X#
X# $Id$
X#
X
XDISTNAME=	img1.1.4
XPKGNAME=	libimg-1.1.4
XCATEGORIES=	graphics tk80
XMASTER_SITES=	ftp://ftp.neosoft.com/pub/tcl/sorted/packages-8.0/graphics/Img/1.1.4/
X
XMAINTAINER=    gljohns@bellsouth.net
X
XLIB_DEPENDS=	tcl80.1:${PORTSDIR}/lang/tcl80 \
X		tk80.1:${PORTSDIR}/x11-toolkits/tk80 \
X		png.3:${PORTSDIR}/graphics/png \
X		jpeg.9:${PORTSDIR}/graphics/jpeg \
X		tiff.4:${PORTSDIR}/graphics/tiff34
X
XWRKSRC=		${WRKDIR}/img1.1
X
XALL_TARGET=	default
XINSTALL_TARGET=	install-base
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-tcl=${PREFIX}/lib/tcl8.0 --with-tk=${PREFIX}/lib/tk8.0
X
Xpost-install:
X	${LN} -sf ${PREFIX}/lib/Img1.1/libimg1.1.so.1 ${PREFIX}/lib/libimg.so.1
X	${LN} -sf ${PREFIX}/lib/libimg.so.1 ${PREFIX}/lib/libimg.so
X
X.include <bsd.port.mk>
END-of-libimg/Makefile
echo c - libimg/files
mkdir -p libimg/files > /dev/null 2>&1
echo x - libimg/files/md5
sed 's/^X//' >libimg/files/md5 << 'END-of-libimg/files/md5'
XMD5 (img1.1.4.tar.gz) = 11ab17a90f9f8e745f8fe4f07abc3cd7
END-of-libimg/files/md5
echo c - libimg/patches
mkdir -p libimg/patches > /dev/null 2>&1
echo x - libimg/patches/patch-aa
sed 's/^X//' >libimg/patches/patch-aa << 'END-of-libimg/patches/patch-aa'
X--- configure.orig	Thu Nov 19 03:50:52 1998
X+++ configure	Sun Feb 21 00:53:23 1999
X@@ -978,8 +978,8 @@
X     TCL_INC_DIR=${TCL_TOP_DIR}/include
X elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl.h; then
X     TCL_INC_DIR=${TCL_EXEC_PREFIX}/include
X-elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl.h; then
X-    TCL_INC_DIR=${TCL_EXEC_PREFIX}/include
X+elif test -d ${TCL_EXEC_PREFIX}/include -a -f ${TCL_EXEC_PREFIX}/include/tcl8.0/tcl.h; then
X+    TCL_INC_DIR=${TCL_EXEC_PREFIX}/include/tcl8.0
X else
X     TCL_INC_DIR=$prefix/include
X fi
X@@ -1091,8 +1091,8 @@
X     TK_INC_DIR=${TK_TOP_DIR}/include
X elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk.h; then
X     TK_INC_DIR=${TK_EXEC_PREFIX}/include
X-elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk.h; then
X-    TK_INC_DIR=${TK_EXEC_PREFIX}/include
X+elif test -d ${TK_EXEC_PREFIX}/include -a -f ${TK_EXEC_PREFIX}/include/tk8.0/tk.h; then
X+    TK_INC_DIR=${TK_EXEC_PREFIX}/include/tk8.0
X else
X     TK_INC_DIR=$prefix/include
X fi
END-of-libimg/patches/patch-aa
echo c - libimg/pkg
mkdir -p libimg/pkg > /dev/null 2>&1
echo x - libimg/pkg/PLIST
sed 's/^X//' >libimg/pkg/PLIST << 'END-of-libimg/pkg/PLIST'
Xlib/Img1.1/tests/all
Xlib/Img1.1/pkgIndex.tcl
Xlib/Img1.1/demo.tcl
Xlib/Img1.1/tkv.tcl
Xlib/Img1.1/libimg1.1.so.1
Xlib/libimg.so.1
Xlib/libimg.so
X@dirrm lib/Img1.1/tests
X@dirrm lib/Img1.1
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
END-of-libimg/pkg/PLIST
echo x - libimg/pkg/COMMENT
sed 's/^X//' >libimg/pkg/COMMENT << 'END-of-libimg/pkg/COMMENT'
XA library of image format handlers for Tk4.1 and later.
END-of-libimg/pkg/COMMENT
echo x - libimg/pkg/DESCR
sed 's/^X//' >libimg/pkg/DESCR << 'END-of-libimg/pkg/DESCR'
XThis is an image format handler for Tk. It handles the following image
Xformats:
X
Xbmp, gif, png, jpeg, tiff, xpm, xbm, and postscript.
X
XUsing this library with Tcl/Tk applications allows one to work with
Xphotos and images in the application.
END-of-libimg/pkg/DESCR
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902240519.XAA37925>