diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-09 05:34:07 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-09 05:34:07 +0000 |
commit | fcf450ecde11b26823b3d20019994727d408981f (patch) | |
tree | a6ccf350a57571d27f6219d165dc47cfd907eabf | |
parent | 78e9f585256111e164022c11dd8bb9f0c00224ae (diff) | |
download | ports-fcf450ecde11b26823b3d20019994727d408981f.tar.gz ports-fcf450ecde11b26823b3d20019994727d408981f.zip |
Notes
-rw-r--r-- | graphics/Makefile | 1 | ||||
-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 |
7 files changed, 82 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 455c1829a514..f19eced8023f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -36,6 +36,7 @@ SUBDIR += gcolor SUBDIR += gd SUBDIR += gdk-pixbuf + SUBDIR += gdtclft SUBDIR += geomview SUBDIR += gfont SUBDIR += gif2png 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%% |