2002-10-14 14:38:48 +02:00
|
|
|
# New ports collection Makefile for: libgcrypt
|
|
|
|
# Date created: July 17 2002
|
2003-01-02 15:18:00 +01:00
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
2002-10-14 14:38:48 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgcrypt
|
2007-02-02 15:25:54 +01:00
|
|
|
PORTVERSION= 1.2.4
|
2007-03-08 15:12:08 +01:00
|
|
|
PORTREVISION= 1
|
2002-10-14 14:38:48 +02:00
|
|
|
CATEGORIES= security
|
2003-02-15 11:51:48 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
2004-05-03 15:57:46 +02:00
|
|
|
MASTER_SITE_SUBDIR= libgcrypt
|
2002-10-14 14:38:48 +02:00
|
|
|
|
2003-01-02 15:18:00 +01:00
|
|
|
MAINTAINER= arved@FreeBSD.org
|
2003-02-22 15:38:12 +01:00
|
|
|
COMMENT= "General purpose crypto library based on code used in GnuPG"
|
2002-10-14 14:38:48 +02:00
|
|
|
|
2007-03-08 15:12:08 +01:00
|
|
|
LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
|
2004-05-04 08:21:22 +02:00
|
|
|
|
2007-01-28 10:07:47 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-14 14:38:48 +02:00
|
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-08-04 19:54:30 +02:00
|
|
|
INFO= gcrypt
|
|
|
|
|
2003-07-18 15:37:14 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-05-27 15:53:31 +02:00
|
|
|
.if ${ARCH} == "powerpc"
|
|
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
|
|
.endif
|
|
|
|
|
2002-10-14 14:38:48 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
|
2004-05-03 15:57:46 +02:00
|
|
|
${WRKSRC}/ltmain.sh
|
2002-10-14 14:38:48 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${RM} -f ${WRKSRC}/doc/gcrypt.info*
|
|
|
|
|
2003-07-18 15:37:14 +02:00
|
|
|
.include <bsd.port.post.mk>
|