diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/giftrans/Makefile | 29 | ||||
-rw-r--r-- | graphics/giftrans/distinfo | 1 | ||||
-rw-r--r-- | graphics/giftrans/files/patch-aa | 11 | ||||
-rw-r--r-- | graphics/giftrans/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/giftrans/pkg-descr | 21 | ||||
-rw-r--r-- | graphics/giftrans/pkg-plist | 2 |
6 files changed, 65 insertions, 0 deletions
diff --git a/graphics/giftrans/Makefile b/graphics/giftrans/Makefile new file mode 100644 index 000000000000..def41d97bcb1 --- /dev/null +++ b/graphics/giftrans/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: giftrans +# Version required: v1.12 +# Date created: 14 October 1996 +# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> +# +# $Id$ +# + +DISTNAME= giftrans +PKGNAME= giftrans-1.12 +CATEGORIES+= graphics +MASTER_SITES= ftp://ftp.lab.kdd.co.jp/infosystems/misc/tools/ + +MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp + +CONFIGURE_ENV+= X11BASE=${X11BASE} + +do-build: + (cd ${WRKSRC}; cc -O2 -m486 giftrans.c -o giftrans) + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin + @ ${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1 + +.if !defined(NOMANCOMPRESS) + gzip -9nf ${PREFIX}/man/man1/giftrans.1 +.endif + +.include <bsd.port.mk> diff --git a/graphics/giftrans/distinfo b/graphics/giftrans/distinfo new file mode 100644 index 000000000000..30f290eb387b --- /dev/null +++ b/graphics/giftrans/distinfo @@ -0,0 +1 @@ +MD5 (giftrans.tar.gz) = 422438da27cb49b6f84c12d2a1f1ca20 diff --git a/graphics/giftrans/files/patch-aa b/graphics/giftrans/files/patch-aa new file mode 100644 index 000000000000..65752726593a --- /dev/null +++ b/graphics/giftrans/files/patch-aa @@ -0,0 +1,11 @@ +--- giftrans.c.orig Fri Feb 17 03:13:25 1995 ++++ giftrans.c Mon Oct 28 05:59:24 1996 +@@ -150,7 +150,7 @@ + + #ifndef RGBTXT + #ifdef X11 +-#define RGBTXT "/usr/lib/X11/rgb.txt" ++#define RGBTXT "%%X11BASE%%/lib/X11/rgb.txt" + #else /* X11 */ + #ifdef OPENWIN + #define RGBTXT "/usr/openwin/lib/rgb.txt" diff --git a/graphics/giftrans/pkg-comment b/graphics/giftrans/pkg-comment new file mode 100644 index 000000000000..70508010f268 --- /dev/null +++ b/graphics/giftrans/pkg-comment @@ -0,0 +1 @@ +a tool for GIF89a transparent option and inerlace mode. diff --git a/graphics/giftrans/pkg-descr b/graphics/giftrans/pkg-descr new file mode 100644 index 000000000000..7708b98453aa --- /dev/null +++ b/graphics/giftrans/pkg-descr @@ -0,0 +1,21 @@ +GIFtrans, a tool for GIF89a transparent option and interlace mode. + +Usage: giftrans [-t color|-T] [-B color] [-b color] [-g oldcolor=newcolor] [-c comment|-C] [-l|-L|-V] [-o filename] [-e filename] [filename] +Convert any GIF file into a GIF89a, with the folloing changes possible: +-t Specify the transparent color +-T Index of the transparent color is the background color index +-B Specify the transparent color's new value +-b Specify the background color +-g Change a color in the global color table +-c Add a comment +-C Remove old comment +-l Only list the color table +-L Verbose output of GIFs contents +-V Verbose output while converting +-o Redirect stdout to a file +-e Redirect stderr to a file +Colors may be specified as index, as rgb.txt entry or in the #rrggbb form. + +Example: + + giftrans -t #ffffff original.gif > whitetrans.gif diff --git a/graphics/giftrans/pkg-plist b/graphics/giftrans/pkg-plist new file mode 100644 index 000000000000..af44901926a5 --- /dev/null +++ b/graphics/giftrans/pkg-plist @@ -0,0 +1,2 @@ +bin/giftrans +man/man1/giftrans.1.gz |