f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
40 lines
900 B
Makefile
40 lines
900 B
Makefile
# New ports collection Makefile for: libgcrypt
|
|
# Date created: July 17 2002
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgcrypt
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= libgcrypt
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= "General purpose crypto library based on code used in GnuPG"
|
|
|
|
LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
INFO= gcrypt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
|
|
${WRKSRC}/ltmain.sh
|
|
|
|
pre-configure:
|
|
@${RM} -f ${WRKSRC}/doc/gcrypt.info*
|
|
|
|
.include <bsd.port.post.mk>
|