Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 15:34:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461593 - head/graphics/gif2png
Message-ID:  <201802121534.w1CFYwtN007728@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 12 15:34:58 2018
New Revision: 461593
URL: https://svnweb.freebsd.org/changeset/ports/461593

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Limit python version properly
  - Fix shebangs
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/gif2png/Makefile

Modified: head/graphics/gif2png/Makefile
==============================================================================
--- head/graphics/gif2png/Makefile	Mon Feb 12 15:17:37 2018	(r461592)
+++ head/graphics/gif2png/Makefile	Mon Feb 12 15:34:58 2018	(r461593)
@@ -3,20 +3,21 @@
 
 PORTNAME=	gif2png
 PORTVERSION=	2.5.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.catb.org/~esr/gif2png/
 
 MAINTAINER=	saper@saper.info
 COMMENT=	Converts GIF images to a PNG format
 
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		python:run
+USES=		localbase:ldflags python:2,run shebangfix
+SHEBANG_FILES=	web2png
 GNU_CONFIGURE=	yes
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/${PORTNAME} bin/web2png \
 		man/man1/gif2png.1.gz \



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