Date: Mon, 30 Aug 1999 21:54:14 +0200 (CEST) From: saper@system.pl To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13479: gif2png: new port Message-ID: <199908301954.VAA10545@saperski.system.pl>
next in thread | raw e-mail | index | archive | help
>Number: 13479 >Category: ports >Synopsis: gif2png: new port >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 13:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Marcin Cieślak >Release: FreeBSD 3.2-STABLE i386 >Organization: SYSTEM Internet Provider >Environment: N/A >Description: This package contains a program to convert from CompuServe GIF file to a free PNG format. Available from: ftp://swrinde.nde.swri.edu/pub/png/applications/gif2png-0.6.zip Author: Alexander Lehmann <alex@hal.rhein-main.de> -- << Marcin Cieslak // saper@system.pl >> >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: # # gif2png # gif2png/Makefile # gif2png/files # gif2png/files/md5 # gif2png/patches # gif2png/patches/patch-aa # gif2png/patches/patch-ab # gif2png/patches/patch-ac # gif2png/pkg # gif2png/pkg/PLIST # gif2png/pkg/DESCR # gif2png/pkg/COMMENT # echo c - gif2png mkdir -p gif2png > /dev/null 2>&1 echo x - gif2png/Makefile sed 's/^X//' >gif2png/Makefile << 'END-of-gif2png/Makefile' X# New ports collection makefile for: gif2png X# Version required: 0.6 X# Date created: 30 Aug 1999 X# Whom: saper@system.pl X# X# $Id$ X# X XDISTNAME= gif2png-0.6 XCATEGORIES= graphics XMASTER_SITES= ftp://swrinde.nde.swri.edu/pub/png/applications/ X XUSE_ZIP= yes X XMAINTAINER= saper@system.pl X XLIB_DEPENDS= png.3:${PORTSDIR}/graphics/png XWRKSRC= ${WRKDIR}/gif2png X X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/gif2png ${PREFIX}/bin X X.include <bsd.port.mk> X X END-of-gif2png/Makefile echo c - gif2png/files mkdir -p gif2png/files > /dev/null 2>&1 echo x - gif2png/files/md5 sed 's/^X//' >gif2png/files/md5 << 'END-of-gif2png/files/md5' XMD5 (gif2png-0.6.zip) = 2fce3354f80826a83e02d3893d1e7ddb END-of-gif2png/files/md5 echo c - gif2png/patches mkdir -p gif2png/patches > /dev/null 2>&1 echo x - gif2png/patches/patch-aa sed 's/^X//' >gif2png/patches/patch-aa << 'END-of-gif2png/patches/patch-aa' X--- Makefile.orig Fri Nov 3 15:48:22 1995 X+++ Makefile Mon Aug 30 19:15:43 1999 X@@ -5,11 +5,9 @@ X #COFF2EXE=coff2exe X COFF2EXE=@echo >/dev/null X X-PNGLIB=libpng-0.81 X-ZLIB=zlib-0.95 X X-LIBS=$(PNGLIB)/libpng.a $(ZLIB)/libz.a X-INCLUDE=-I$(PNGLIB) -I$(ZLIB) X+LIBS=-L${LOCALBASE}/lib -lpng -lz X+INCLUDE=-I${LOCALBASE}/include X X CFLAGS=$(INCLUDE) -g -O -Wall X LDFLAGS=-g X@@ -23,7 +21,7 @@ X X all-lib: libpng zlib all X X-gif2png: $(OBJS) $(LIBS) X+gif2png: $(OBJS) X $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) X $(COFF2EXE) $@ X END-of-gif2png/patches/patch-aa echo x - gif2png/patches/patch-ab sed 's/^X//' >gif2png/patches/patch-ab << 'END-of-gif2png/patches/patch-ab' X--- version.c.orig Thu Nov 2 21:47:44 1995 X+++ version.c Mon Aug 30 19:15:53 1999 X@@ -6,10 +6,10 @@ X X X #ifndef PNGLIB X-#define PNGLIB "pnglib (unknown version)" X+#define PNGLIB "pnglib (as installed)" X #endif X #ifndef ZLIB X-#define ZLIB "zlib (unknown version)" X+#define ZLIB "zlib (as installed)" X #endif X X const char version[]="gif2png 0.6 (beta)"; END-of-gif2png/patches/patch-ab echo x - gif2png/patches/patch-ac sed 's/^X//' >gif2png/patches/patch-ac << 'END-of-gif2png/patches/patch-ac' X--- gif2png.c.orig Mon Aug 30 19:27:06 1999 X+++ gif2png.c Mon Aug 30 19:32:27 1999 X@@ -7,6 +7,7 @@ X #include <stdio.h> X #include <string.h> X #include <stdlib.h> X+#include <unistd.h> X #define PNG_INTERNAL X #include "gif2png.h" X END-of-gif2png/patches/patch-ac echo c - gif2png/pkg mkdir -p gif2png/pkg > /dev/null 2>&1 echo x - gif2png/pkg/PLIST sed 's/^X//' >gif2png/pkg/PLIST << 'END-of-gif2png/pkg/PLIST' Xbin/gif2png END-of-gif2png/pkg/PLIST echo x - gif2png/pkg/DESCR sed 's/^X//' >gif2png/pkg/DESCR << 'END-of-gif2png/pkg/DESCR' XThis package contains a program to convert from XCompuServe GIF file to a free PNG format. X XAvailable from: Xftp://swrinde.nde.swri.edu/pub/png/applications/gif2png-0.6.zip X XAuthor: XAlexander Lehmann <alex@hal.rhein-main.de> X X-- X << Marcin Cieslak // saper@system.pl >> END-of-gif2png/pkg/DESCR echo x - gif2png/pkg/COMMENT sed 's/^X//' >gif2png/pkg/COMMENT << 'END-of-gif2png/pkg/COMMENT' XConverts GIF images to a PNG format END-of-gif2png/pkg/COMMENT exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908301954.VAA10545>