mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
6e3e01a84a
- Fix USE_GITHUB support - Add LICENSE PR: 187499 Submitted by: Ports Fury
39 lines
770 B
Makefile
39 lines
770 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vanitygen
|
|
PORTVERSION= 0.21
|
|
PORTREVISION= 1
|
|
CATEGORIES= finance
|
|
MASTER_SITES= GH
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Standalone vanity address generator for bitcoin
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= samr7
|
|
GH_COMMIT= b9237a0
|
|
|
|
USES= gmake
|
|
USE_OPENSSL= yes
|
|
ALL_TARGET= most
|
|
|
|
PLIST_FILES= bin/keyconv bin/vanitygen
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lpcre|$$(shell pcre-config --libs)| ; \
|
|
s|-lpthread|-pthread $$(LDFLAGS)| ; \
|
|
s|^\(CFLAGS\).*|\1+=$$(shell pcre-config --cflags)|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} keyconv vanitygen \
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
.include <bsd.port.mk>
|