1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/finance/vanitygen/Makefile
Mathieu Arnold a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00

37 lines
729 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= vanitygen
PORTVERSION= 0.22
PORTREVISION= 1
CATEGORIES= finance
MAINTAINER= ports@FreeBSD.org
COMMENT= Standalone vanity address generator for bitcoin
LICENSE= AGPLv3
LIB_DEPENDS= libpcre.so:devel/pcre
USE_GITHUB= yes
GH_ACCOUNT= samr7
GH_TAGNAME= cd1a728
USES= gmake ssl
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>