pkgsrc/security/libnetpgpverify/Makefile
agc 06180dd316 Update the libnetpgpverify package to version 20140210
Switch over to using the zero-pre-requisite netpgpverify sources by
using reachover infrastructure to make sure we have one set of
sources.

This also brings with it the benefit of being able to use SSH
public keys, as well as PGP pub keys, when verifying signatures.

Extend the package building mechanism so that it can be built using
libtool (the default), or without libtool, depending on whether
"BOOTSTRAP" is defined at package build time.
2014-02-16 17:15:48 +00:00

31 lines
724 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/02/16 17:15:48 agc Exp $
DISTNAME= libnetpgpverify-${VERSION}
CATEGORIES= security
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= PGP and ssh signature verification library
LICENSE= modified-bsd
FILESDIR= ${.CURDIR}/../netpgpverify/files
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
VERSION!= ${AWK} '/\#define.*NETPGP_VERIFY_H_/ {print $$3}' ${FILESDIR}/verify.h
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
.if defined(BOOTSTRAP)
cd ${WRKSRC} && ${CP} Makefile.lib.in Makefile.in
.else
cd ${WRKSRC} && ${CP} Makefile.libtool.in Makefile.in
.endif
.include "../../mk/bsd.pkg.mk"