Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 12:21:38 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/40496: Update port: graphics/fli2gif
Message-ID:  <200207121921.g6CJLckl006178@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40496
>Category:       ports
>Synopsis:       Update port: graphics/fli2gif
>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:   Fri Jul 12 12:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/fli2gif/Makefile graphics/fli2gif/Makefile
--- /usr/ports/graphics/fli2gif/Makefile	Fri Aug 31 21:36:02 2001
+++ graphics/fli2gif/Makefile	Fri Jul 12 03:30:27 2002
@@ -7,20 +7,30 @@
 
 PORTNAME=	fli2gif
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.sco.com/skunkware/src/misc/ \
-		ftp://ftp.doc.ic.ac.uk/Mirrors/ftp.sco.com/skunkware/src/misc/ \
-		ftp://ftp.vse.cz/pub/SCO/ftp.sco.com/skunkware/src/misc/
-DISTNAME=	${PORTNAME}
+MASTER_SITES=	http://www.bovine.net/~jlawson/coding/fli2gif/
+DISTNAME=	${PORTNAME}b
 
 MAINTAINER=	ports@FreeBSD.org
 
+NO_WRKSUBDIR=	yes
+
+USE_ZIP=	yes
+
+post-extract:
+	@cd ${WRKSRC} && unzip -q -aa source.zip \
+		&& ${LN} -sf GIF.CPP gif.cpp \
+		&& ${LN} -sf FLIPLAY.CPP fliplay.cpp
+
+do-build:
+	@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} *.cpp
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/fli2gif
-	${INSTALL_DATA}	${WRKSRC}/*.TXT ${PREFIX}/share/doc/fli2gif
-	${GZIP_CMD} ${PREFIX}/share/doc/fli2gif/*.TXT
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA}	${WRKSRC}/*.TXT ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/fli2gif/distinfo graphics/fli2gif/distinfo
--- /usr/ports/graphics/fli2gif/distinfo	Fri Jan 30 01:33:34 1998
+++ graphics/fli2gif/distinfo	Fri Jul 12 02:52:13 2002
@@ -1 +1 @@
-MD5 (fli2gif.tar.gz) = efcd4d184679634f6a9ace79b8402132
+MD5 (fli2gifb.zip) = 8b101992de06634384bd72f29a77408e
diff -urN /usr/ports/graphics/fli2gif/files/patch-aa graphics/fli2gif/files/patch-aa
--- /usr/ports/graphics/fli2gif/files/patch-aa	Fri Jan 30 01:33:34 1998
+++ graphics/fli2gif/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,23 +0,0 @@
---- Makefile.orig	Thu Feb 20 21:28:59 1997
-+++ Makefile	Thu Jan 29 11:27:08 1998
-@@ -1,16 +1,16 @@
- all: fli2gif
- 
- fli2gif: fliplay.o gif.o fli2gif.o
--	CC -o fli2gif fli2gif.o gif.o fliplay.o
-+	$(CC) $(CCFLAGS) -o fli2gif fli2gif.o gif.o fliplay.o
- 
- fliplay.o: fliplay.C
--	CC -c -I. fliplay.C
-+	$(CC) $(CFLAGS) -c -I. fliplay.C
- 
- gif.o: gif.C
--	CC -c -I. gif.C
-+	$(CC) $(CFLAGS) -c -I. gif.C
- 
- fli2gif.o: fli2gif.C
--	CC -c -I. fli2gif.C
-+	$(CC) $(CFLAGS) -c -I. fli2gif.C
- 
- clean:
- 	rm -f fli2gif fli2gif.o fliplay.o gif.o
diff -urN /usr/ports/graphics/fli2gif/files/patch-ab graphics/fli2gif/files/patch-ab
--- /usr/ports/graphics/fli2gif/files/patch-ab	Fri Jan 30 01:33:34 1998
+++ graphics/fli2gif/files/patch-ab	Fri Jul 12 03:01:00 2002
@@ -1,5 +1,5 @@
---- fli2gif.C.orig	Tue Jul 29 20:05:27 1997
-+++ fli2gif.C	Thu Jan 29 11:27:08 1998
+--- fli2gif.cpp.orig	Fri Sep  6 00:10:14 1996
++++ fli2gif.cpp	Fri Jul 12 03:00:50 2002
 @@ -43,7 +43,9 @@
  // ******************
  #include <stdio.h>
@@ -11,7 +11,7 @@
  #include <string.h>
  #if defined(__TURBOC__) || defined(_MSC_VER)
      #include <conio.h>
-@@ -112,7 +114,7 @@
+@@ -104,7 +106,7 @@
      // []----------------[]
      // |  Initialization  |
      // []----------------[]
@@ -20,20 +20,12 @@
      printf("   by JL Enterprises, 1996.  (Compiled with "
          #if defined(__TURBOC__)
              "Borland"
-@@ -125,13 +127,15 @@
-         #endif
-         #if defined(_Windows)
+@@ -117,6 +119,8 @@
              " for Windows"
-+	#elif defined(__FreeBSD__)
-+	    " for FreeBSD"
-         #elif defined(_SCO_DS)
-             " for SCO OpenServer 5"
-         #elif defined(__USLC__)
-             " for SCO UnixWare"
          #elif defined(__MSDOS__) || defined(_DOS)
              " for MS-DOS"
--        #endif    
-+        #endif
++        #elif defined(__FreeBSD__)
++            " for FreeBSD"
+         #endif    
          ")\n\n");
      {
-         int gotflic = FALSE, gotgif = FALSE;
diff -urN /usr/ports/graphics/fli2gif/pkg-descr graphics/fli2gif/pkg-descr
--- /usr/ports/graphics/fli2gif/pkg-descr	Fri May  7 04:09:47 1999
+++ graphics/fli2gif/pkg-descr	Fri Jul 12 03:02:52 2002
@@ -11,4 +11,4 @@
 flic format, allowing even more possibilities of animation conversion
 without having to resort to saving out individual frames to separate files.
 
-WWW: http://members.aol.com/JeffLawson/
+WWW: http://www.bovine.net/~jlawson/coding/fli2gif/
diff -urN /usr/ports/graphics/fli2gif/pkg-plist graphics/fli2gif/pkg-plist
--- /usr/ports/graphics/fli2gif/pkg-plist	Fri Dec 28 16:28:41 2001
+++ graphics/fli2gif/pkg-plist	Fri Jul 12 02:50:24 2002
@@ -1,3 +1,3 @@
 bin/fli2gif
-%%PORTDOCS%%share/doc/fli2gif/FLI2GIF.TXT.gz
+%%PORTDOCS%%share/doc/fli2gif/FLI2GIF.TXT
 %%PORTDOCS%%@dirrm share/doc/fli2gif

>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?200207121921.g6CJLckl006178>