giftrans 1.12, gif transparency utility
This commit is contained in:
parent
8b95867f78
commit
19b38f1604
27
graphics/giftrans/Makefile
Normal file
27
graphics/giftrans/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: giftrans
|
||||
# Version required: v1.12
|
||||
# Date created: 20 May 1998
|
||||
# Whom: Oleg Safiullin <form@vs.itam.nsc.ru>
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 10:03:16 form Exp $
|
||||
# FreeBSD: Makefile,v 1.2 1996/11/18 11:27:58 asami Exp
|
||||
#
|
||||
|
||||
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}
|
||||
MAN1= giftrans.1
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}; cc -O2 giftrans.c -o giftrans)
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
|
||||
@ ${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/giftrans/files/md5
Normal file
1
graphics/giftrans/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (giftrans.tar.gz) = 422438da27cb49b6f84c12d2a1f1ca20
|
11
graphics/giftrans/patches/patch-aa
Normal file
11
graphics/giftrans/patches/patch-aa
Normal file
@ -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"
|
1
graphics/giftrans/pkg/COMMENT
Normal file
1
graphics/giftrans/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
a tool for GIF89a transparent option and inerlace mode.
|
21
graphics/giftrans/pkg/DESCR
Normal file
21
graphics/giftrans/pkg/DESCR
Normal file
@ -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
|
2
graphics/giftrans/pkg/PLIST
Normal file
2
graphics/giftrans/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
bin/giftrans
|
||||
man/man1/giftrans.1
|
4
graphics/giftrans/scripts/configure
vendored
Normal file
4
graphics/giftrans/scripts/configure
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
perl -pi -e 's|%%X11BASE%%|$ENV{'X11BASE'}|g' $WRKSRC/giftrans.c
|
Loading…
Reference in New Issue
Block a user