diff options
author | will <will@FreeBSD.org> | 2000-06-09 13:34:07 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-06-09 13:34:07 +0800 |
commit | 9c44dc975de464bf3a03d93ab8ee991919f788a3 (patch) | |
tree | b4d647656e60a74211e60492efe2de08a300cd9b /graphics/gdtclft | |
parent | 9005eb42a0a4ca5fad21244a473b1b6fbd77fb3d (diff) | |
download | freebsd-ports-gnome-9c44dc975de464bf3a03d93ab8ee991919f788a3.tar.gz freebsd-ports-gnome-9c44dc975de464bf3a03d93ab8ee991919f788a3.tar.zst freebsd-ports-gnome-9c44dc975de464bf3a03d93ab8ee991919f788a3.zip |
Add gdtclft, a Tcl interface to gd.
PR: 16648
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'graphics/gdtclft')
-rw-r--r-- | graphics/gdtclft/Makefile | 28 | ||||
-rw-r--r-- | graphics/gdtclft/distinfo | 1 | ||||
-rw-r--r-- | graphics/gdtclft/files/Makefile.bsd | 39 | ||||
-rw-r--r-- | graphics/gdtclft/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/gdtclft/pkg-descr | 8 | ||||
-rw-r--r-- | graphics/gdtclft/pkg-plist | 4 |
6 files changed, 81 insertions, 0 deletions
diff --git a/graphics/gdtclft/Makefile b/graphics/gdtclft/Makefile new file mode 100644 index 000000000000..9e643efb4712 --- /dev/null +++ b/graphics/gdtclft/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: Gdtclft +# Date Created: 10 February 2000 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +PORTNAME= Gdtclft +PORTVERSION= 2.2.3 +CATEGORIES= graphics tcl82 +MASTER_SITES= ftp://ftp.graphviz.org/pub/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= mi@aldan.algebra.com + +LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \ + gd.1:${PORTSDIR}/graphics/gd + +MAKEFILE= ${FILESDIR}/Makefile.bsd +MAKE_ENV= TCL_VER=8.2 MKDIR="${MKDIR}" INSTALL_DATA="${INSTALL_DATA}" +ALL_TARGET= all + +MANN= gdtclft.n +MANCOMPRESSED= maybe + +.include <bsd.port.mk> + +PLIST_SUB!= ${MAKE} -f ${MAKEFILE} env diff --git a/graphics/gdtclft/distinfo b/graphics/gdtclft/distinfo new file mode 100644 index 000000000000..40afa7fb957a --- /dev/null +++ b/graphics/gdtclft/distinfo @@ -0,0 +1 @@ +MD5 (Gdtclft2.2.3.tar.gz) = 1c63df8038e2b706cf807f401fd04508 diff --git a/graphics/gdtclft/files/Makefile.bsd b/graphics/gdtclft/files/Makefile.bsd new file mode 100644 index 000000000000..412f085aee93 --- /dev/null +++ b/graphics/gdtclft/files/Makefile.bsd @@ -0,0 +1,39 @@ +PACKAGE = Gdtclft +VERSION = 2.2 +LIB = ${PACKAGE}2 +SHLIB_MAJOR = 2 +SHLIB_MINOR = 1 + +SRCS = gdhandle.c gdCmd.c + +PREFIX ?=/usr/local +TCL_VER ?=8.2 + +LDADD = -L${PREFIX}/lib -lgd -lttf -lpng -lz -lm + +CFLAGS +=-I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include/gd +CFLAGS +=-DNDEBUG -Wall -I. -DUSE_TCL_STUBS -I${PREFIX}/include +CFLAGS +=-DVERSION=\"${VERSION}\" + +MANn = gdtclft.n +INTERNALLIB = don't build the useless static version + +all: ${SHLIB_NAME} pkgIndex.tcl + +pkgIndex.tcl: + echo 'package ifneeded $(PACKAGE) $(VERSION) [list load [file join $$dir $(SHLIB_NAME)] $(PACKAGE)]' > pkgIndex.tcl + +DIR = lib/tcl${TCL_VER}/gdtclft +SHLIBDIR = ${PREFIX}/${DIR} +MANDIR = ${PREFIX}/man/man + +${SHLIBDIR}: + ${MKDIR} ${SHLIBDIR} + +env: + @${ECHO} SHLIB_NAME=${SHLIB_NAME} SHLIB_LINK=${SHLIB_LINK} DIR=${DIR} + +beforeinstall: ${SHLIBDIR} + ${INSTALL_DATA} pkgIndex.tcl ${SHLIBDIR} + +.include <bsd.lib.mk> diff --git a/graphics/gdtclft/pkg-comment b/graphics/gdtclft/pkg-comment new file mode 100644 index 000000000000..02947077bab6 --- /dev/null +++ b/graphics/gdtclft/pkg-comment @@ -0,0 +1 @@ +A TCL interface to the Thomas Boutell's Gd library diff --git a/graphics/gdtclft/pkg-descr b/graphics/gdtclft/pkg-descr new file mode 100644 index 000000000000..fadd2e94a1e8 --- /dev/null +++ b/graphics/gdtclft/pkg-descr @@ -0,0 +1,8 @@ +Spencer Thomas said about the original TCL GD: + + Thomas Boutell's Gd package provides a convenient way to + generate PNG images with a C program. If you, like me, prefer + Tcl for CGI applications, you'll want my TCL GD extension. + +The software is now maintained by John Ellson <ellson@lucent.com>, it +seems. diff --git a/graphics/gdtclft/pkg-plist b/graphics/gdtclft/pkg-plist new file mode 100644 index 000000000000..88084b708f53 --- /dev/null +++ b/graphics/gdtclft/pkg-plist @@ -0,0 +1,4 @@ +%%DIR%%/pkgIndex.tcl +%%DIR%%/%%SHLIB_NAME%% +%%DIR%%/%%SHLIB_LINK%% +@dirrm %%DIR%% |