pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vanitygen: Add do-install target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Oct 19 03:33:03 2017 +0200
Changeset:	4726030137bcc13cd54f45e23632c7b9de80022d

Modified Files:
	vanitygen/Makefile
	vanitygen/PLIST

Log Message:
vanitygen: Add do-install target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4726030137bcc13cd54f45e23632c7b9de80022d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vanitygen/Makefile | 8 ++++++++
 vanitygen/PLIST    | 2 ++
 2 files changed, 10 insertions(+)

diffs:
diff --git a/vanitygen/Makefile b/vanitygen/Makefile
index c6e93cf55a..8978bfbe79 100644
--- a/vanitygen/Makefile
+++ b/vanitygen/Makefile
@@ -13,6 +13,14 @@ USE_TOOLS+=	gmake
 
 BUILD_TARGET=	most # all: requires OpenCL
 
+INSTALLATION_DIRS+=	bin
+
+do-install:
+.for _file_ in vanitygen keyconv
+	cd ${WRKSRC} && \
+		${INSTALL_PROGRAM} ${_file_} ${DESTDIR}${PREFIX}/bin/
+.endfor
+
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/vanitygen/PLIST b/vanitygen/PLIST
index 48d96a5493..0dd816a0ec 100644
--- a/vanitygen/PLIST
+++ b/vanitygen/PLIST
@@ -1 +1,3 @@
 @comment $NetBSD$
+bin/keyconv
+bin/vanitygen


Home | Main Index | Thread Index | Old Index