From owner-freebsd-ports Tue May 4 18:10: 8 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C36B4154AE for ; Tue, 4 May 1999 18:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA67363; Tue, 4 May 1999 18:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from whizkidtech.net (r41.bfm.org [208.18.213.137]) by hub.freebsd.org (Postfix) with ESMTP id 2C21515042 for ; Tue, 4 May 1999 18:05:46 -0700 (PDT) (envelope-from root@whizkidtech.net) Received: (from root@localhost) by whizkidtech.net (8.9.2/8.9.2) id UAA28386; Tue, 4 May 1999 20:05:47 -0500 (CDT) (envelope-from root) Message-Id: <199905050105.UAA28386@whizkidtech.net> Date: Tue, 4 May 1999 20:05:47 -0500 (CDT) From: adam@whizkidtech.net Reply-To: adam@whizkidtech.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11502: New port: xbm2gif Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11502 >Category: ports >Synopsis: xbm2gif converts xbm graphics to gif format >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 4 18:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: G. Adam Stanislav >Release: FreeBSD 3.1-RELEASE i386 >Organization: Whiz Kid Technomagic >Environment: >Description: xbm2gif is a simple conversion utility which converts xbm graphics into gif format. It depends on gd. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xbm2gif # xbm2gif/Makefile # xbm2gif/files # xbm2gif/files/md5 # xbm2gif/pkg # xbm2gif/pkg/DESCR # xbm2gif/pkg/COMMENT # xbm2gif/pkg/PLIST # echo c - xbm2gif mkdir -p xbm2gif > /dev/null 2>&1 echo x - xbm2gif/Makefile sed 's/^X//' >xbm2gif/Makefile << 'END-of-xbm2gif/Makefile' X# New ports collection makefile for: xbm2gif X# Version required: 1.0 X# Date created: 4 May 1999 X# Whom: adam@whizkidtech.net X# X# $Id:$ X# X XDISTNAME= xbm2gif-1.0 XCATEGORIES= graphics XMASTER_SITES= http://www.whizkidtech.net/fports/ X XMAINTAINER= adam@whizkidtech.net X XMAN1= xbm2gif.1 X XBUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/xbm2gif ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/xbm2gif.1 ${PREFIX}/man/man1 X X.include END-of-xbm2gif/Makefile echo c - xbm2gif/files mkdir -p xbm2gif/files > /dev/null 2>&1 echo x - xbm2gif/files/md5 sed 's/^X//' >xbm2gif/files/md5 << 'END-of-xbm2gif/files/md5' XMD5 (xbm2gif-1.0.tar.gz) = 3c0884bb20ee8267493ad080065211e1 END-of-xbm2gif/files/md5 echo c - xbm2gif/pkg mkdir -p xbm2gif/pkg > /dev/null 2>&1 echo x - xbm2gif/pkg/DESCR sed 's/^X//' >xbm2gif/pkg/DESCR << 'END-of-xbm2gif/pkg/DESCR' XI needed to convert an xbm file into a gif file. I did not have a program to Xdo it, so I wrote this one. All it does is send stdin (which must be in xbm Xformat) to gd library by Thomas Boutell, reads a gif file from it, and sends Xit to stdout. X XThe program is so simple that it would be ridiculous to stick any kind of Xlincense on it. The gd library, on the other hand, is very sophisticated. XIf you do not have it, the port software will get it for you. X XTo use the program, just type 'xbm2gif < xbmfile > giffile'. X XG. Adam Stanislav Xadam@whizkidtech.net Xhttp://www.whizkidtech.net END-of-xbm2gif/pkg/DESCR echo x - xbm2gif/pkg/COMMENT sed 's/^X//' >xbm2gif/pkg/COMMENT << 'END-of-xbm2gif/pkg/COMMENT' XConverts xbm graphics to gif format. END-of-xbm2gif/pkg/COMMENT echo x - xbm2gif/pkg/PLIST sed 's/^X//' >xbm2gif/pkg/PLIST << 'END-of-xbm2gif/pkg/PLIST' Xbin/xbm2gif END-of-xbm2gif/pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message