aboutsummaryrefslogtreecommitdiff
path: root/graphics/gifsicle/Makefile
blob: 1f8eed37c5509000938c09a3a53e5a7a96084d9b (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
# New ports collection makefile for:	gifsicle
# Date created:			19 December 1998
# Whom:				Brad Hendrickse <bradh@iafrica.com>
#
# $FreeBSD$
#

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

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

GNU_CONFIGURE=	yes

MAN1=		gifdiff.1 gifsicle.1

.if !defined(HAVE_UNISYS_LICENSE)
CONFIGURE_ARGS+=	--enable-ungif
.endif

.if defined(WITHOUT_X11)
PKGNAMESUFFIX=	-nox11
CONFIGURE_ARGS+=	--without-x --disable-gifview
PLIST_SUB=	X11='@comment '
.else
USE_XORG=	x11
MAN1+=		gifview.1
PLIST_SUB=	X11=''
.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>