svn commit: r461593 - head/graphics/gif2png

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Feb 12 15:34:59 UTC 2018


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 at 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 \


More information about the svn-ports-head mailing list