pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gif2png: Do not move the binary around in do-install.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By: bsiegert
Date: Wed Nov 13 20:54:01 2019 +0000
Changeset: 10f6f1804c4f171b2d535239f82a61e65d050470
Modified Files:
gif2png/Makefile
Log Message:
gif2png: Do not move the binary around in do-install.
Set GO_SRCPATH to the gitlab location, so that the binary will
directly be named "gif2png".
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=10f6f1804c4f171b2d535239f82a61e65d050470
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gif2png/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diffs:
diff --git a/gif2png/Makefile b/gif2png/Makefile
index f493f7838c..b9b6f89ac9 100644
--- a/gif2png/Makefile
+++ b/gif2png/Makefile
@@ -10,8 +10,8 @@ HOMEPAGE= https://gitlab.com/esr/gif2png/
COMMENT= Convert GIFs to PNG format
LICENSE= modified-bsd
-GO_SRCPATH= ${DISTNAME}
-#GO_DIST_BASE= gif2png-master
+GO_SRCPATH= gitlab.com/esr/gif2png
+GO_DIST_BASE= ${DISTNAME}
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
@@ -25,7 +25,6 @@ post-build:
xmlto man web2png.xml
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/${DISTNAME} ${DESTDIR}${PREFIX}/bin/gif2png
${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
Home |
Main Index |
Thread Index |
Old Index