summaryrefslogtreecommitdiff
path: root/graphics/giftool/Makefile
blob: a568ff7290407d78a92fdd5026dc276a1c3b71e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>

PORTNAME=	giftool
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	SUNSITE/apps/graphics/convert/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool for GIF89a transparent option and interlace mode

# Converted from NO_CDROM
LICENSE=	giftool
LICENSE_NAME=	giftool
LICENSE_TEXT=	Shareware
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept

NO_WRKSUBDIR=	yes
ALL_TARGET=	giftool
MAKE_ARGS=	CFLAGS="${CFLAGS}"
USES=		tar:tgz

CONFLICTS_INSTALL=	giflib

OPTIONS_DEFINE=	RETVALUE MALLOCSIZE DOCS
OPTIONS_DEFAULT=	RETVALUE MALLOCSIZE
RETVALUE_DESC=	Return value patch
MALLOCSIZE_DESC=	Improve malloc size

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	COPYRIGHT README

RETVALUE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-aa
MALLOCSIZE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-ab

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/giftool ${STAGEDIR}${PREFIX}/bin

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>