2003-01-08 19:50:41 +01:00
|
|
|
# New ports collection Makefile for: libksba
|
|
|
|
# Date created: July 17 2002
|
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libksba
|
2003-06-17 20:57:11 +02:00
|
|
|
PORTVERSION= 0.4.7
|
2003-01-08 19:50:41 +01:00
|
|
|
CATEGORIES= security
|
2003-02-15 11:57:56 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
2004-01-17 13:42:53 +01:00
|
|
|
MASTER_SITE_SUBDIR= alpha/${PORTNAME}
|
2003-07-18 15:44:44 +02:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig
|
2003-01-08 19:50:41 +01:00
|
|
|
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
2003-02-22 15:38:12 +01:00
|
|
|
COMMENT= "KSBA is an X.509 Library"
|
2003-01-08 19:50:41 +01:00
|
|
|
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-01-08 19:50:41 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_TARGET=
|
|
|
|
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-20 12:54:29 +01:00
|
|
|
USE_AUTOCONF_VER= 253
|
|
|
|
USE_PERL5_BUILD= yes
|
2003-01-08 19:50:41 +01:00
|
|
|
|
2003-08-04 20:10:43 +02:00
|
|
|
INFO= ksba
|
|
|
|
|
2003-07-18 15:44:44 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
.if exists(${PREFIX}/bin/gpg)
|
2004-01-16 22:19:14 +01:00
|
|
|
@${MKDIR} ${WRKDIR}
|
2003-07-18 15:44:44 +02:00
|
|
|
@${ECHO_CMD} "===> Verifying GnuPG Signature."
|
2004-01-16 22:19:14 +01:00
|
|
|
-${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
|
|
|
|
--keyserver pgp.mit.edu --recv-key 57548DCD
|
|
|
|
cd ${DISTDIR}; ${PREFIX}/bin/gpg --keyring ${WRKDIR}/keyring --verify \
|
2003-07-18 15:44:44 +02:00
|
|
|
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig \
|
|
|
|
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
.else
|
|
|
|
@${ECHO_CMD} "===> GnuPG not installed. Signature can not be verified"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|