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