aboutsummaryrefslogtreecommitdiff
path: root/graphics/gifsicle/Makefile
blob: f8a8faaf43a6de57023065493a8e3aab3724b0d8 (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
# Created by: Brad Hendrickse <bradh@iafrica.com>
# $FreeBSD$

PORTNAME=	gifsicle
PORTVERSION=	1.92
CATEGORIES=	graphics
MASTER_SITES=	http://www.lcdf.org/gifsicle/

MAINTAINER=	tagattie@FreeBSD.org
COMMENT=	Manipulates GIF images and animations

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_mips=		fails to build: undefined reference to '__sync_add_and_fetch_4'
BROKEN_mips64=		fails to build: undefined reference to '__sync_add_and_fetch_4'

GNU_CONFIGURE=	yes

PORTDOCS=	NEWS.md README.md
PLIST_FILES=	bin/gifdiff bin/gifsicle \
		man/man1/gifdiff.1.gz man/man1/gifsicle.1.gz

OPTIONS_DEFINE=		DOCS X11
OPTIONS_DEFAULT=

X11_USES=		xorg
X11_USE=		xorg=x11
X11_CONFIGURE_ENABLE=	gifview
X11_CONFIGURE_WITH=	x
X11_PLIST_FILES=	bin/gifview man/man1/gifview.1.gz

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>