aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-12 23:34:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-12 23:34:58 +0800
commit2894a57ce3dee59cfa8dd45c29c84265cfb8148f (patch)
treee4ca26fab053ec2b8c4bccba335d0e2aba73d046 /graphics
parent1d0d00b27897af8fa982d369942f51200231ff77 (diff)
downloadfreebsd-ports-gnome-2894a57ce3dee59cfa8dd45c29c84265cfb8148f.tar.gz
freebsd-ports-gnome-2894a57ce3dee59cfa8dd45c29c84265cfb8148f.tar.zst
freebsd-ports-gnome-2894a57ce3dee59cfa8dd45c29c84265cfb8148f.zip
- Add LICENSE
- Switch to USES=localbase - Limit python version properly - Fix shebangs Approved by: portmgr blanket
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gif2png/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index d312a2678076..3c081cb34b22 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -3,21 +3,22 @@
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 \
man/man1/web2png.1.gz