[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / sks

File: [cvs.NetBSD.org] / pkgsrc / security / sks / Makefile (download)

Revision 1.1.1.1 (vendor branch), Sat Jun 16 18:55:30 2012 UTC (6 years, 8 months ago) by pettai
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines

SKS is a new OpenPGP keyserver whose goal is to provide easy to deploy,
decentralized, and highly reliable synchronization.  That means that a key
submitted to one SKS server will quickly be distributed to all key servers,
and even wildly out-of-date servers, or servers that experience spotty
connectivity, can fully synchronize with rest of the system.

# $NetBSD: Makefile,v 1.1.1.1 2012/06/16 18:55:30 pettai Exp $
#

DISTNAME=	sks-1.1.2
CATEGORIES=	security
MASTER_SITES=	http://sks-keyserver.googlecode.com/files/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://minskyprimus.net/sks/
COMMENT=	Self Replicating PGP Key Server
LICENSE=	gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

BUILDLINK_API_DEPENDS.ocaml+=	ocaml>=3.10.2
BUILDLINK_API_DEPENDS.db4+=	db4>=4.6.0

REPLACE_SH=	sks_build.sh

USE_TOOLS+=	gmake perl:run tar
BDB_ACCEPTED=	db4

MAKE_ENV+=	LIBDB=-ldb46 \
		BDBINCLUDE=-I${BUILDLINK_DIR}/include \
		BDBLIB=-L${BUILDLINK_DIR}/lib \
		PREFIX=${PREFIX:Q} \
		MANDIR=${PREFIX:Q}/man

INSTALLATION_DIRS=	${PKGMANDIR}/man8 bin

.include "../../lang/ocaml/buildlink3.mk"
.include "../../databases/db46/buildlink3.mk"

post-install:
	cd ${WRKSRC} && ${MAKE_PROGRAM} sks.8
	${INSTALL_PROGRAM} ${WRKSRC}/sks ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/sks_add_mail ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/sks_build.sh ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/sks.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

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