1996-10-30 14:44:05 +01: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 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1996-10-30 14:44:05 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= giftool
|
|
|
|
PORTVERSION= 1.0
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= graphics
|
2005-03-02 13:44:30 +01:00
|
|
|
MASTER_SITES= http://www.the-labs.com/GIFTool/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
1996-10-30 14:44:05 +01:00
|
|
|
|
2003-11-03 02:19:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tool for GIF89a transparent option and interlace mode
|
1996-10-30 14:44:05 +01:00
|
|
|
|
1996-12-07 10:28:48 +01:00
|
|
|
NO_CDROM= "Shareware"
|
1996-10-30 14:44:05 +01:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ALL_TARGET= giftool
|
2005-03-02 13:44:30 +01:00
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
1996-10-30 14:44:05 +01:00
|
|
|
|
2005-03-02 13:44:30 +01:00
|
|
|
OPTIONS= RETVALUE "Return value patch" on \
|
|
|
|
MALLOCSIZE "Improve malloc size" on
|
|
|
|
|
2005-03-14 21:37:20 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2005-03-02 13:44:30 +01:00
|
|
|
PORTDOCS= COPYRIGHT README
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_RETVALUE)
|
2000-10-07 23:58:57 +02:00
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa
|
1997-06-04 09:34:51 +02:00
|
|
|
.endif
|
2005-03-02 13:44:30 +01:00
|
|
|
.if defined(WITH_MALLOCSIZE)
|
2000-10-07 23:58:57 +02:00
|
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ab
|
1997-06-04 09:34:51 +02:00
|
|
|
.endif
|
|
|
|
|
1996-10-30 14:44:05 +01:00
|
|
|
do-install:
|
1997-06-04 09:34:51 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/giftool ${PREFIX}/bin
|
2008-08-24 21:42:39 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-03-02 13:44:30 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
2008-08-24 21:42:39 +02:00
|
|
|
.endif
|
1996-10-30 14:44:05 +01:00
|
|
|
|
|
|
|
post-install:
|
2005-03-02 13:44:30 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1996-10-30 14:44:05 +01:00
|
|
|
|
2005-03-02 13:44:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|