summaryrefslogtreecommitdiff
path: root/security/dhbitty/Makefile
blob: 6c5280f50d31587be51aa3344468613cb7e0c8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.4 2017/09/22 07:02:57 wiz Exp $

DISTNAME=		dhbitty.c
PKGNAME=		dhbitty-20120806
CATEGORIES=		security
MASTER_SITES=		https://cipherdev.org/rnd/
EXTRACT_SUFX=		#empty

MAINTAINER=		agc@NetBSD.org
COMMENT=		Small public key ECDH encryption/decryption program
HOMEPAGE=		https://cipherdev.org/dhbitty.html
LICENSE=		public-domain

WRKSRC=			${WRKDIR}

INSTALLATION_DIRS=	bin share/doc/dhbitty

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${DISTDIR}/dhbitty.c ${WRKSRC}/dhbitty.c

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o dhbitty dhbitty.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dhbitty ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${FILESDIR}/dhbitty.html ${DESTDIR}${PREFIX}/share/doc/dhbitty/

.include "../../mk/bsd.pkg.mk"