freebsd-ports/security/libgcrypt/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection Makefile for: libgcrypt
# Date created: July 17 2002
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= libgcrypt
PORTVERSION= 1.4.4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= libgcrypt
MAINTAINER= umq@ueo.co.jp
COMMENT= General purpose crypto library based on code used in GnuPG
LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
USE_LDCONFIG= yes
DOCS= AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README README.SVN \
THANKS TODO doc/HACKING doc/README.apichanges
INFO= gcrypt
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-asm
.endif
.if (${OSVERSION} < 700000)
CONFIGURE_ARGS+= --disable-padlock-support
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
${WRKSRC}/ltmain.sh
pre-configure:
@${RM} -f ${WRKSRC}/doc/gcrypt.info*
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>