aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgcrypt/Makefile
blob: 799de43bfbfd696e731d050197998ddcbc38459b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection Makefile for:    libgcrypt
# Date created:             July 17 2002
# Whom:                 Tilman Linneweh <tilman@arved.de>
#
# $FreeBSD$

PORTNAME=   libgcrypt
PORTVERSION=    1.1.10
CATEGORIES= security
MASTER_SITES=   http://gd.tuwien.ac.at/privacy/gnupg/alpha/libgcrypt/ \
        ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/ \
        http://ftp.hi.is/pub/mirrors/gnupg/alpha/libgcrypt/ \
        http://www.mirrors.wiretapped.net/security/cryptography/apps/pgp/GnuPG/alpha/libgcrypt/  \
        ${MASTER_SITE_RINGSERVER}/net/gnupg/alpha/libgcrypt/ \

MAINTAINER= freebsdports@arved.de

BUILD_DEPENDS=  autoconf:${PORTSDIR}/devel/autoconf

USE_REINPLACE=  yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
        ${WRKSRC}/scripts/ltmain.sh

pre-configure:
    @${RM} -f ${WRKSRC}/doc/gcrypt.info*
    @cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf

.include <bsd.port.mk>