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

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

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

LICENSE=	GPLv2

GNU_CONFIGURE=	yes

MAN1=		gifdiff.1 gifsicle.1

PORTDOCS=	NEWS README.md

OPTIONS_DEFINE=	X11
OPTIONS_DEFAULT=X11

OPTIONS_SUB=	yes

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MX11}
CONFIGURE_ARGS+=	--without-x --disable-gifview
.else
USE_XORG=	x11
MAN1+=		gifview.1
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>