1996-10-30 08:44:05 -05:00
|
|
|
# New ports collection makefile for: giftool
|
1997-06-04 03:34:51 -04:00
|
|
|
# Version required: 1.0
|
1996-10-30 08:44:05 -05:00
|
|
|
# Date created: 14 October 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-01-12 11:51:33 -05:00
|
|
|
# $Id: Makefile,v 1.4 1997/06/04 07:34:49 asami Exp $
|
1996-10-30 08:44:05 -05:00
|
|
|
#
|
|
|
|
|
1997-06-04 03:34:51 -04:00
|
|
|
DISTNAME= giftool-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
|
|
|
|
1999-01-12 11:51:33 -05:00
|
|
|
MAINTAINER= nacai@iname.com
|
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
|
|
|
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 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>
|