Created
August 15, 2018 04:43
-
-
Save ndowens/d2729af57820a3f6c92097be397a72c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: graphics/gif2png/Makefile | |
=================================================================== | |
--- graphics/gif2png/Makefile (revision 477123) | |
+++ graphics/gif2png/Makefile (working copy) | |
@@ -2,8 +2,7 @@ | |
# $FreeBSD$ | |
PORTNAME= gif2png | |
-PORTVERSION= 2.5.9 | |
-PORTREVISION= 3 | |
+PORTVERSION= 2.5.11 | |
CATEGORIES= graphics | |
MASTER_SITES= http://www.catb.org/~esr/gif2png/ | |
@@ -11,16 +10,24 @@ | |
COMMENT= Converts GIF images to a PNG format | |
LICENSE= ZLIB | |
-LICENSE_FILE= ${WRKSRC}/COPYING | |
LIB_DEPENDS= libpng.so:graphics/png | |
+BUILD_DEPENDS= png>0:graphics/png \ | |
+ gzip:archivers/gzip | |
-USES= localbase:ldflags python:2.7,run shebangfix | |
+USES= python:2.7,run shebangfix | |
SHEBANG_FILES= web2png | |
-GNU_CONFIGURE= yes | |
-PLIST_FILES= bin/${PORTNAME} bin/web2png \ | |
- man/man1/gif2png.1.gz \ | |
- man/man1/web2png.1.gz | |
+PLIST_FILES= bin/gif2png bin/web2png \ | |
+ share/man/man1/gif2png.1.gz \ | |
+ share/man/man1/web2png.1.gz | |
+MAKE_ENV= prefix=${STAGEDIR}${PREFIX} | |
+CFLAGS+= -I${PREFIX}/include/libpng16 -L${PREFIX}/lib | |
+ | |
+# Force Makefile to honor CFLAGS | |
+pre-build: | |
+ ${REINPLACE_CMD} -e 's:^CFLAGS.*$:CFLAGS = ${CFLAGS}:g' ${WRKSRC}/Makefile | |
+ ${REINPLACE_CMD} -e 's|"gif2png " VERSION|" gif2png " ; VERSION|' ${WRKSRC}/version.c | |
+ | |
.include <bsd.port.mk> | |
Index: graphics/gif2png/distinfo | |
=================================================================== | |
--- graphics/gif2png/distinfo (revision 477123) | |
+++ graphics/gif2png/distinfo (working copy) | |
@@ -1,2 +1,5 @@ | |
-SHA256 (gif2png-2.5.9.tar.gz) = c8406b7c0c08f504952a1719e04f2366ee44c888c0edfac3a63fea2ab05b64c7 | |
-SIZE (gif2png-2.5.9.tar.gz) = 137750 | |
+TIMESTAMP = 1534296673 | |
+SHA256 (gif2png-2.5.11.tar.gz) = 40483169d2de06f632ada1de780c36f63325844ec62892b1652193f77fc508f7 | |
+SIZE (gif2png-2.5.11.tar.gz) = 31507 | |
+SHA256 (COPYING) = c92396cd96373bf1bdaa08e028214479216be7278fe7732b59cd1df1632fe335 | |
+SIZE (COPYING) = 1826 | |
Index: graphics/gif2png/files/patch-Makefile | |
=================================================================== | |
--- graphics/gif2png/files/patch-Makefile (nonexistent) | |
+++ graphics/gif2png/files/patch-Makefile (working copy) | |
@@ -0,0 +1,12 @@ | |
+--- Makefile.orig 2018-08-15 04:24:19 UTC | |
++++ Makefile | |
+@@ -40,7 +40,8 @@ install: gif2png gif2png.1 web2png.1 | |
+ mkdir -p $(prefix)/bin | |
+ mkdir -p $(prefix)/share/man/man1 | |
+ cp gif2png web2png $(prefix)/bin/ | |
+- cp gif2png.1 web2png.1 $(prefix)/share/man/man1/ | |
++ gzip gif2png.1 web2png.1 | |
++ cp gif2png.1.gz web2png.1.gz $(prefix)/share/man/man1/ | |
+ | |
+ uninstall: | |
+ rm $(prefix)/bin/gif2png $(prefix)/bin/web2png | |
Property changes on: graphics/gif2png/files/patch-Makefile | |
___________________________________________________________________ | |
Added: fbsd:nokeywords | |
## -0,0 +1 ## | |
+yes | |
\ No newline at end of property | |
Added: svn:eol-style | |
## -0,0 +1 ## | |
+native | |
\ No newline at end of property | |
Added: svn:mime-type | |
## -0,0 +1 ## | |
+text/plain | |
\ No newline at end of property |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment