1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

A graphics library for fast GIF creation

Submitted by:	Ichiro Fukuhara <ichiro@ichiro.org>
This commit is contained in:
Jun Kuriyama 1998-09-10 14:17:47 +00:00
parent 66c351080b
commit cc18d6f4f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13083
10 changed files with 196 additions and 0 deletions

52
japanese/gd/Makefile Normal file
View File

@ -0,0 +1,52 @@
# New ports collection makefile for: gd
# Version required: 1.3+kanji.patch
# Date created: 19 Aug 1998
# Whom: ichiro@ichiro.org
#
# $Id$
#
DISTNAME= gd1.3
PKGNAME= ja-gd-1.3
CATEGORIES= japanese graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
PATCH_SITES= http://pg.cni.co.jp/GD/
PATCHFILES= gd1.3.kanji.patch-fix1.gz
PATCH_DIST_STRIP= # empty
MAINTAINER= ichiro@ichiro.org
BUILD_DEPENDS= ${PREFIX}/lib/libVFlib2.a:${PORTSDIR}/japanese/vflib
FETCH_BEFORE_ARGS= -b
pre-install:
${MKDIR} ${PREFIX}/include/gd
${MKDIR} ${PREFIX}/share/examples/gd
do-install:
for i in libgd.a libgd.so.1.3; do \
${INSTALL} -c -o bin -g bin -m 555 ${WRKSRC}/$$i \
${PREFIX}/lib; \
done
(cd ${PREFIX}/lib; ${LN} -sf libgd.so.1.3 libgd.so.1; \
${LN} -sf libgd.so.1 libgd.so)
for i in gddemo giftogd webgif; do \
${INSTALL} -c -o bin -g bin -m 755 ${WRKSRC}/$$i \
${PREFIX}/bin; \
done
for i in gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h; do \
${INSTALL} -c -o root -g bin -m 644 ${WRKSRC}/$$i \
${PREFIX}/include/gd; \
done
for i in index.html demoin.gif ; do \
${INSTALL_DATA} ${WRKSRC}/$$i \
${PREFIX}/share/examples/gd; \
done
post-install:
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

2
japanese/gd/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (gd1.3.tar.gz) = ff3de2c851c4b1fc6af6f14dcfbc6532
MD5 (gd1.3.kanji.patch-fix1.gz) = 2c573152add343feb105cc490986bd15

1
japanese/gd/pkg-comment Normal file
View File

@ -0,0 +1 @@
A graphics library for fast GIF creation

24
japanese/gd/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
DESCRIPTION
gd is a graphics library. It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a .GIF file.
This is particularly useful in World Wide Web applications, where .GIF
is the format used for inline images.
gd is not a paint program. If you are looking for a paint program, try
xpaint by David Koblas, available by anonymous FTP from ftp.netcom.com
in pub/ko/koblas. (That package is for the X Window System; for the Mac
and the PC, paint programs are considerably easier to find.)
gd does not provide for every possible desirable graphics operation. It
is not necessary or desirable for gd to become a kitchen-sink graphics
package, but version 1.3 incorporates most of the commonly requested
features for an 8-bit 2D package. Support for scalable fonts, and
truecolor images, JPEG and PNG is planned for version 2.0. Version 1.3
was released to correct longstanding bugs and provide an LZW-free GIF
compression routine.
AUTHOR
gd 1.2 was written by Thomas Boutell and is currently distributed by
boutell.com, Inc.

19
japanese/gd/pkg-plist Normal file
View File

@ -0,0 +1,19 @@
bin/gddemo
bin/giftogd
bin/webgif
include/gd/gd.h
include/gd/gdfontg.h
include/gd/gdfontl.h
include/gd/gdfontmb.h
include/gd/gdfonts.h
include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.1
lib/libgd.so.1.3
share/examples/gd/demoin.gif
share/examples/gd/index.html
@dirrm include/gd
@dirrm share/examples/gd
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R

52
japanese/gd1/Makefile Normal file
View File

@ -0,0 +1,52 @@
# New ports collection makefile for: gd
# Version required: 1.3+kanji.patch
# Date created: 19 Aug 1998
# Whom: ichiro@ichiro.org
#
# $Id$
#
DISTNAME= gd1.3
PKGNAME= ja-gd-1.3
CATEGORIES= japanese graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
PATCH_SITES= http://pg.cni.co.jp/GD/
PATCHFILES= gd1.3.kanji.patch-fix1.gz
PATCH_DIST_STRIP= # empty
MAINTAINER= ichiro@ichiro.org
BUILD_DEPENDS= ${PREFIX}/lib/libVFlib2.a:${PORTSDIR}/japanese/vflib
FETCH_BEFORE_ARGS= -b
pre-install:
${MKDIR} ${PREFIX}/include/gd
${MKDIR} ${PREFIX}/share/examples/gd
do-install:
for i in libgd.a libgd.so.1.3; do \
${INSTALL} -c -o bin -g bin -m 555 ${WRKSRC}/$$i \
${PREFIX}/lib; \
done
(cd ${PREFIX}/lib; ${LN} -sf libgd.so.1.3 libgd.so.1; \
${LN} -sf libgd.so.1 libgd.so)
for i in gddemo giftogd webgif; do \
${INSTALL} -c -o bin -g bin -m 755 ${WRKSRC}/$$i \
${PREFIX}/bin; \
done
for i in gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h; do \
${INSTALL} -c -o root -g bin -m 644 ${WRKSRC}/$$i \
${PREFIX}/include/gd; \
done
for i in index.html demoin.gif ; do \
${INSTALL_DATA} ${WRKSRC}/$$i \
${PREFIX}/share/examples/gd; \
done
post-install:
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

2
japanese/gd1/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (gd1.3.tar.gz) = ff3de2c851c4b1fc6af6f14dcfbc6532
MD5 (gd1.3.kanji.patch-fix1.gz) = 2c573152add343feb105cc490986bd15

1
japanese/gd1/pkg-comment Normal file
View File

@ -0,0 +1 @@
A graphics library for fast GIF creation

24
japanese/gd1/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
DESCRIPTION
gd is a graphics library. It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a .GIF file.
This is particularly useful in World Wide Web applications, where .GIF
is the format used for inline images.
gd is not a paint program. If you are looking for a paint program, try
xpaint by David Koblas, available by anonymous FTP from ftp.netcom.com
in pub/ko/koblas. (That package is for the X Window System; for the Mac
and the PC, paint programs are considerably easier to find.)
gd does not provide for every possible desirable graphics operation. It
is not necessary or desirable for gd to become a kitchen-sink graphics
package, but version 1.3 incorporates most of the commonly requested
features for an 8-bit 2D package. Support for scalable fonts, and
truecolor images, JPEG and PNG is planned for version 2.0. Version 1.3
was released to correct longstanding bugs and provide an LZW-free GIF
compression routine.
AUTHOR
gd 1.2 was written by Thomas Boutell and is currently distributed by
boutell.com, Inc.

19
japanese/gd1/pkg-plist Normal file
View File

@ -0,0 +1,19 @@
bin/gddemo
bin/giftogd
bin/webgif
include/gd/gd.h
include/gd/gdfontg.h
include/gd/gdfontl.h
include/gd/gdfontmb.h
include/gd/gdfonts.h
include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.1
lib/libgd.so.1.3
share/examples/gd/demoin.gif
share/examples/gd/index.html
@dirrm include/gd
@dirrm share/examples/gd
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R