diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-06-04 07:34:51 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-06-04 07:34:51 +0000 |
commit | 88b4f5400338c12a3668832cd98772f3f3caaab5 (patch) | |
tree | f9749de83f15f619fa2a75fe2c0d72502cbec61c /graphics/giftool | |
parent | 6fff157c6107f962e1cd4b71436caedbdcf2c80e (diff) | |
download | ports-88b4f5400338c12a3668832cd98772f3f3caaab5.tar.gz ports-88b4f5400338c12a3668832cd98772f3f3caaab5.zip |
Notes
Diffstat (limited to 'graphics/giftool')
-rw-r--r-- | graphics/giftool/Makefile | 36 | ||||
-rw-r--r-- | graphics/giftool/distinfo | 2 | ||||
-rw-r--r-- | graphics/giftool/pkg-descr | 21 |
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'. |