aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giftool
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-04 15:34:51 +0800
committerasami <asami@FreeBSD.org>1997-06-04 15:34:51 +0800
commit41b7bf2c35f60fe40c5f1a4b1b58dd334a18d488 (patch)
tree7da60d50b6a3fc9fb52253e64061d1d02f538027 /graphics/giftool
parentf7d55f72b07bb8d793cfeaab92aad7e440183f5b (diff)
downloadfreebsd-ports-gnome-41b7bf2c35f60fe40c5f1a4b1b58dd334a18d488.tar.gz
freebsd-ports-gnome-41b7bf2c35f60fe40c5f1a4b1b58dd334a18d488.tar.zst
freebsd-ports-gnome-41b7bf2c35f60fe40c5f1a4b1b58dd334a18d488.zip
I mean, upgrade to 1.0.
PR: 3772 Submitted by: Yukihiro Nakai Nakai@Mlab.t.u-tokyo.ac.jp
Diffstat (limited to 'graphics/giftool')
-rw-r--r--graphics/giftool/Makefile36
-rw-r--r--graphics/giftool/distinfo2
-rw-r--r--graphics/giftool/pkg-descr21
3 files changed, 46 insertions, 13 deletions
diff --git a/graphics/giftool/Makefile b/graphics/giftool/Makefile
index 5f6fd701d646..b51027a8eeb9 100644
--- a/graphics/giftool/Makefile
+++ b/graphics/giftool/Makefile
@@ -1,15 +1,14 @@
# New ports collection makefile for: giftool
-# Version required: 0.9
+# Version required: 1.0
# Date created: 14 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
-# $Id: Makefile,v 1.2 1996/11/18 11:27:51 asami Exp $
+# $Id: Makefile,v 1.3 1996/12/07 09:28:43 max Exp $
#
-DISTNAME= giftool
-PKGNAME= giftool-0.9
+DISTNAME= giftool-1.0
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.huie.hokudai.ac.jp/pub/tool/graphics/
+MASTER_SITES= ftp://ftp.sbs.de/pub/www/tools/giftool/
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
@@ -18,17 +17,30 @@ NO_CDROM= "Shareware"
NO_WRKSUBDIR= yes
ALL_TARGET= giftool
+pre-clean:
+ @${RM} -f ${PATCHDIR}/patch-a[bc]
+
+pre-patch:
+.if defined(RETVALUE)
+ @${ECHO_MSG} "Return value patch enabled....."
+ @${CP} ${FILESDIR}/patch-aa ${PATCHDIR}
+.endif
+.if defined(MALLOCSIZE)
+ @${ECHO_MSG} "Malloc size improve parch enabled....."
+ @${CP} ${FILESDIR}/patch-ab ${PATCHDIR}
+.endif
+
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${PREFIX}/bin
- @ ${MKDIR} -p ${PREFIX}/share/doc/giftool
- @ for file in COPYRIGHT README; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/giftool; \
- done
- @ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/share/doc/giftool
+ ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/doc/giftool
+.for file in COPYRIGHT README
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/giftool
+.endfor
+ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/share/doc/giftool
post-install:
.if !defined(BATCH)
- @ more -e ${FILESDIR}/post-install-notes
+ @ /usr/bin/more -e ${FILESDIR}/post-install-notes
.endif
.include <bsd.port.mk>
diff --git a/graphics/giftool/distinfo b/graphics/giftool/distinfo
index 509374a4a261..fdd48129f136 100644
--- a/graphics/giftool/distinfo
+++ b/graphics/giftool/distinfo
@@ -1 +1 @@
-MD5 (giftool.tar.gz) = e62e1c16930ccdd64ccebc62005aacf3
+MD5 (giftool-1.0.tar.gz) = 3d90069d230b5d42a5e1803cfcb9d6ed
diff --git a/graphics/giftool/pkg-descr b/graphics/giftool/pkg-descr
index ddfa10c0ecd5..4139831f1b3d 100644
--- a/graphics/giftool/pkg-descr
+++ b/graphics/giftool/pkg-descr
@@ -19,3 +19,24 @@ to interlaced GIF files in one easy step.
giftool version 1.0 is Copyright 1994 Home Pages, Inc and is shareware.
Please, use the -info option to read the licensing information.
+
+PORT BUILD OPTION
+=================
+
+There are two useful options are suggested and available for this port of
+giftool. You can specify it following "make clean".
+
+make RETVALUE=yes
+-----------
+Giftool does not return value from main(), so it is impossible to use this
+tools in programs like make(1) or pipes.
+This option is suggested by Sergei Chechetkin <csl@whale.sunbay.crimea.ua>.
+
+make MALLOCSIZE=yes
+---------------
+Giftool 1.0 or some earlier version cause segmentation fault about some
+images. Something about pre-read seems to be bad, so make malloc size
+bigger to improve that.
+This option is suggested by Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>.
+
+You can specify all options such as 'make RETVALUE=yes MALLOCSIZE=yes'.