pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gif2png: install web2png and man pages
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Tue Nov 12 19:53:04 2019 +0100
Changeset: 318e117d56dabf9189334a3739fab4cf74d23c42
Modified Files:
gif2png/Makefile
gif2png/PLIST
gif2png/TODO
gif2png/distinfo
gif2png/patches/patch-gif2png.go
Log Message:
gif2png: install web2png and man pages
Add comment to patch.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=318e117d56dabf9189334a3739fab4cf74d23c42
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gif2png/Makefile | 17 +++++++++++++++++
gif2png/PLIST | 3 +++
gif2png/TODO | 1 -
gif2png/distinfo | 2 +-
gif2png/patches/patch-gif2png.go | 3 +++
5 files changed, 24 insertions(+), 2 deletions(-)
diffs:
diff --git a/gif2png/Makefile b/gif2png/Makefile
index e1234ed849..d624da0bfe 100644
--- a/gif2png/Makefile
+++ b/gif2png/Makefile
@@ -12,8 +12,25 @@ LICENSE= modified-bsd
GO_SRCPATH= gitlab.com/esr/gif2png
GO_DIST_BASE= gif2png-master
+TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+REPLACE_PYTHON+= ${WRKSRC}/web2png
+
+post-build:
+ cd ${WRKSRC} && \
+ xmlto man gif2png.xml && \
+ xmlto man web2png.xml
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/web2png ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/gif2png.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/web2png.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../security/go-crypto/buildlink3.mk"
.include "../../devel/go-sys/buildlink3.mk"
.include "../../lang/go/go-package.mk"
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/gif2png/PLIST b/gif2png/PLIST
index 4decaf6fdd..242c85b2c3 100644
--- a/gif2png/PLIST
+++ b/gif2png/PLIST
@@ -1,2 +1,5 @@
@comment $NetBSD$
bin/gif2png
+bin/web2png
+man/man1/gif2png.1
+man/man1/web2png.1
diff --git a/gif2png/TODO b/gif2png/TODO
index 51d7b3a379..13c81f5999 100644
--- a/gif2png/TODO
+++ b/gif2png/TODO
@@ -1,2 +1 @@
-- build and install manpages (needs xmlto as a tool)
- figure out a way to have a stable distfile and version
diff --git a/gif2png/distinfo b/gif2png/distinfo
index 40661e6aa9..c2f602a5f2 100644
--- a/gif2png/distinfo
+++ b/gif2png/distinfo
@@ -4,4 +4,4 @@ SHA1 (gif2png-master.tar.gz) = 8fcfceeb270c0a5a2cd86b74b096182615f772ce
RMD160 (gif2png-master.tar.gz) = e7cb8e4836ee38dd5808150aa135cddd1e3ddbb7
SHA512 (gif2png-master.tar.gz) = 17d8bb83d53b8f5c61dbdd0e697c8b85999c8dfb54d57c9621fe3600effd1222acb29bd8e12c28db93736789d5db24e208a32868ed462e589527221c6846e0f6
Size (gif2png-master.tar.gz) = 94713 bytes
-SHA1 (patch-gif2png.go) = 1b51a645cdd7b31bb0a122080611b5ac378de1e0
+SHA1 (patch-gif2png.go) = 44e8a24181a1df97cca322798888304513e8a835
diff --git a/gif2png/patches/patch-gif2png.go b/gif2png/patches/patch-gif2png.go
index b5dd249c2e..cf0a8d8db6 100644
--- a/gif2png/patches/patch-gif2png.go
+++ b/gif2png/patches/patch-gif2png.go
@@ -1,5 +1,8 @@
$NetBSD$
+Fix on NetBSD.
+https://gitlab.com/esr/gif2png/merge_requests/3
+
--- gif2png.go.orig 2019-07-11 13:50:28.000000000 +0000
+++ gif2png.go
@@ -98,7 +98,7 @@ func processfilter() int {
Home |
Main Index |
Thread Index |
Old Index