1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/security/srp/Makefile
Eitan Adler e1925f7102 - Remove outdated version checks
Reviewed by:	nox
2012-01-09 04:01:17 +00:00

43 lines
1012 B
Makefile

# New ports collection makefile for: srp
# Date created: 07/25/2001
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= srp
PORTVERSION= 2.1.2
CATEGORIES= security net
MASTER_SITES= http://srp.stanford.edu/source/
MAINTAINER= ports@FreeBSD.org
COMMENT= Secure Remote Password protocol library, TELNET, and FTP
CONFLICTS= krb4-[0-9]* krb5-[0-9]* heimdal-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL="/usr/bin/install -C"
CONFIGURE_ARGS= --with-openssl=/usr \
--with-zlib \
--enable-loginf
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
post-patch:
@${GREP} -slR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib\.h|g'
@${REINPLACE_CMD} -e 's/^struct.*\*sgetspent.*(const.*//' ${WRKSRC}/base/lib/shadow_.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>