2001-07-25 22:54:33 +02:00
|
|
|
# New ports collection makefile for: srp
|
|
|
|
# Date created: 07/25/2001
|
|
|
|
# Whom: nectar@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-04-22 18:15:10 +02:00
|
|
|
PORTNAME= srp
|
2008-06-21 00:06:14 +02:00
|
|
|
PORTVERSION= 2.1.2
|
2002-04-22 18:15:10 +02:00
|
|
|
CATEGORIES= security net
|
2003-11-10 20:46:27 +01:00
|
|
|
MASTER_SITES= http://srp.stanford.edu/source/
|
2001-07-25 22:54:33 +02:00
|
|
|
|
2008-06-21 00:06:14 +02:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Secure Remote Password protocol library, TELNET, and FTP
|
2001-07-25 22:54:33 +02:00
|
|
|
|
2006-11-14 03:06:07 +01:00
|
|
|
CONFLICTS= krb4-[0-9]* krb5-[0-9]* heimdal-[0-9]*
|
|
|
|
|
2001-07-25 22:54:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-11-10 20:46:27 +01:00
|
|
|
CONFIGURE_ENV= INSTALL="/usr/bin/install -C"
|
2001-07-25 22:54:33 +02:00
|
|
|
CONFIGURE_ARGS= --with-openssl=/usr \
|
2002-04-22 18:15:10 +02:00
|
|
|
--with-zlib \
|
|
|
|
--enable-loginf
|
2001-07-25 22:54:33 +02:00
|
|
|
|
2007-07-15 17:20:02 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-11-10 20:46:27 +01:00
|
|
|
post-patch:
|
2005-12-21 07:21:49 +01:00
|
|
|
@${GREP} -slR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|malloc\.h|stdlib\.h|g'
|
2007-07-15 17:20:02 +02:00
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
@${REINPLACE_CMD} -e 's/^struct.*\*sgetspent.*(const.*//' ${WRKSRC}/base/lib/shadow_.h
|
|
|
|
.endif
|
2001-07-25 22:54:33 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-11-10 20:46:27 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs && ${FIND} . | \
|
2004-01-22 13:18:43 +01:00
|
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2001-07-25 22:54:33 +02:00
|
|
|
.endif
|
|
|
|
|
2007-07-15 17:20:02 +02:00
|
|
|
.include <bsd.port.post.mk>
|