1996-10-30 13:44:05 +00:00
|
|
|
# New ports collection makefile for: giftool
|
1997-06-04 07:34:51 +00:00
|
|
|
# Version required: 1.0
|
1996-10-30 13:44:05 +00:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
1997-06-04 07:34:51 +00:00
|
|
|
DISTNAME= giftool-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
|
|
|
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
|
|
|
|
|
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>
|