freebsd-ports/security/libgpg-error/Makefile
Sergei Kolobov a56005cacb Add libgpg-error 0.5, common error values for all GnuPG components.
PR:		58325
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
Approved by:	krion (mentor)
2003-10-21 20:23:27 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: libgpg-error
# Date created: 2003-10-12
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= libgpg-error
PORTVERSION= 0.5
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= alpha/${PORTNAME}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME}${EXTRACT_SUFX}.sig
MAINTAINER= sergei@kolobov.com
COMMENT= Common error values for all GnuPG components
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GPG= ${LOCALBASE}/bin/gpg
GPG_FLAGS= --keyserver pgp.mit.edu --keyserver-options auto-key-retrieve
DOCS= AUTHORS ChangeLog NEWS README
post-fetch:
.if exists(${GPG})
@${ECHO_MSG} "===> Verifying GnuPG signature"
@${GPG} --verify ${GPG_FLAGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
.else
@${ECHO_MSG} "===> GnuPG not installed. Signature can not be verified"
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>