Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2013 12:00:15 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320991 - head/graphics/gifsicle
Message-ID:  <201306151200.r5FC0FQQ057367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Jun 15 12:00:14 2013
New Revision: 320991
URL: http://svnweb.freebsd.org/changeset/ports/320991

Log:
  graphics/gifsicle: update to 1.70
  
  - Update to 1.70 [1]
  - NOPORTDOCS -> PORT_OPTIONS:MDOCS [1]
  - WITHOUT_X11 -> PORT_OPTIONS:MX11
  - Use new OPTIONS_SUB
  - Use PORTDOCS instead of pkg-plist
  
  PR:		ports/178864 [1]
  Submitted by:	Alexander Milanov <a@amilanov.com> [1]
  Approved by:	culot / jpaetzel (mentors, implicit), maintainer (timeout)

Modified:
  head/graphics/gifsicle/Makefile
  head/graphics/gifsicle/distinfo
  head/graphics/gifsicle/pkg-plist

Modified: head/graphics/gifsicle/Makefile
==============================================================================
--- head/graphics/gifsicle/Makefile	Sat Jun 15 11:58:33 2013	(r320990)
+++ head/graphics/gifsicle/Makefile	Sat Jun 15 12:00:14 2013	(r320991)
@@ -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>

Modified: head/graphics/gifsicle/distinfo
==============================================================================
--- head/graphics/gifsicle/distinfo	Sat Jun 15 11:58:33 2013	(r320990)
+++ head/graphics/gifsicle/distinfo	Sat Jun 15 12:00:14 2013	(r320991)
@@ -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

Modified: head/graphics/gifsicle/pkg-plist
==============================================================================
--- head/graphics/gifsicle/pkg-plist	Sat Jun 15 11:58:33 2013	(r320990)
+++ head/graphics/gifsicle/pkg-plist	Sat Jun 15 12:00:14 2013	(r320991)
@@ -1,5 +1,3 @@
 bin/gifdiff
 bin/gifsicle
 %%X11%%bin/gifview
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306151200.r5FC0FQQ057367>