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

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

MAINTAINER=	bradh@uunet.co.za

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_XLIB=	yes
MAN1+=		gifview.1
PLIST_SUB=	X11=''
.endif

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud