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

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

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

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

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} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>