aboutsummaryrefslogtreecommitdiff
path: root/graphics/gifsicle
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-06-15 12:00:14 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-06-15 12:00:14 +0000
commit3bd1b461904a0e9c535afff3565fec08d09f31e4 (patch)
tree5bd783cff784afcc0faffb79f8051bf10a1af9ec /graphics/gifsicle
parent27c230f37dca2706e25dcc429638fd81a167557f (diff)
downloadports-3bd1b461904a0e9c535afff3565fec08d09f31e4.tar.gz
ports-3bd1b461904a0e9c535afff3565fec08d09f31e4.zip
Notes
Diffstat (limited to 'graphics/gifsicle')
-rw-r--r--graphics/gifsicle/Makefile27
-rw-r--r--graphics/gifsicle/distinfo4
-rw-r--r--graphics/gifsicle/pkg-plist2
3 files changed, 15 insertions, 18 deletions
diff --git a/graphics/gifsicle/Makefile b/graphics/gifsicle/Makefile
index af5df111915d..14f0554accd6 100644
--- a/graphics/gifsicle/Makefile
+++ b/graphics/gifsicle/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: gifsicle
-# Date created: 19 December 1998
-# Whom: Brad Hendrickse <bradh@iafrica.com>
-#
+# Created by: Brad Hendrickse <bradh@iafrica.com>
# $FreeBSD$
-#
PORTNAME= gifsicle
-PORTVERSION= 1.63
+PORTVERSION= 1.70
CATEGORIES= graphics
MASTER_SITES= http://www.lcdf.org/gifsicle/
@@ -19,24 +15,27 @@ GNU_CONFIGURE= yes
MAN1= gifdiff.1 gifsicle.1
-.if !defined(HAVE_UNISYS_LICENSE)
-CONFIGURE_ARGS+= --enable-ungif
-.endif
+PORTDOCS= NEWS README
+
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT=X11
+
+OPTIONS_SUB= yes
+
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_X11)
+.if ! ${PORT_OPTIONS:MX11}
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)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/graphics/gifsicle/distinfo b/graphics/gifsicle/distinfo
index 3b2eb06bf960..ae2732fc174d 100644
--- a/graphics/gifsicle/distinfo
+++ b/graphics/gifsicle/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gifsicle-1.63.tar.gz) = 62cecfbdc27c8b794d189af4a0995d245feab8abb14f9e50dfe17bb4cf2cf912
-SIZE (gifsicle-1.63.tar.gz) = 257658
+SHA256 (gifsicle-1.70.tar.gz) = 8ed2afd9771a78b8afdc2c2f61c548e184fa0cc0b7e671b8dd8d29c109ebc90c
+SIZE (gifsicle-1.70.tar.gz) = 262069
diff --git a/graphics/gifsicle/pkg-plist b/graphics/gifsicle/pkg-plist
index 47335148c4f4..8534e45c90c8 100644
--- a/graphics/gifsicle/pkg-plist
+++ b/graphics/gifsicle/pkg-plist
@@ -1,5 +1,3 @@
bin/gifdiff
bin/gifsicle
%%X11%%bin/gifview
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%