1996-10-30 13:44:05 +00:00
|
|
|
# New ports collection makefile for: giftool
|
|
|
|
# Date created: 14 October 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1996-10-30 13:44:05 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= giftool
|
|
|
|
PORTVERSION= 1.0
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= graphics
|
1999-01-12 16:51:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sbs.de/pub/www/tools/giftool/
|
1996-10-30 13:44:05 +00:00
|
|
|
|
2000-01-07 02:27:48 +00:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
1996-10-30 13:44:05 +00:00
|
|
|
|
1996-12-07 09:28:48 +00:00
|
|
|
NO_CDROM= "Shareware"
|
1996-10-30 13:44:05 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ALL_TARGET= giftool
|
|
|
|
|
1997-06-04 07:34:51 +00:00
|
|
|
.if defined(RETVALUE)
|
2000-03-05 04:52:30 +00:00
|
|
|
pre-patch::
|
1997-06-04 07:34:51 +00:00
|
|
|
@${ECHO_MSG} "Return value patch enabled....."
|
2000-03-04 10:57:30 +00:00
|
|
|
EXTRA_PATCHES= ${FILESDIR}/patch-aa
|
1997-06-04 07:34:51 +00:00
|
|
|
.endif
|
|
|
|
.if defined(MALLOCSIZE)
|
2000-03-05 04:52:30 +00:00
|
|
|
pre-patch::
|
1997-06-04 07:34:51 +00:00
|
|
|
@${ECHO_MSG} "Malloc size improve parch enabled....."
|
2000-03-05 04:52:30 +00:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/patch-ab
|
1997-06-04 07:34:51 +00:00
|
|
|
.endif
|
|
|
|
|
1996-10-30 13:44:05 +00:00
|
|
|
do-install:
|
1997-06-04 07:34:51 +00:00
|
|
|
${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
|
1996-10-30 13:44:05 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
1997-06-04 07:34:51 +00:00
|
|
|
@ /usr/bin/more -e ${FILESDIR}/post-install-notes
|
1996-10-30 13:44:05 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|