mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
35 lines
784 B
Makefile
35 lines
784 B
Makefile
# New ports collection makefile for: srp
|
|
# Date created: 07/25/2001
|
|
# Whom: nectar@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= srp
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= security net
|
|
MASTER_SITES= http://srp.stanford.edu/source/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Secure Remote Password protocol library, TELNET, and FTP
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= INSTALL="/usr/bin/install -C"
|
|
CONFIGURE_ARGS= --with-openssl=/usr \
|
|
--with-zlib \
|
|
--enable-loginf
|
|
|
|
post-patch:
|
|
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|malloc\.h|stdlib.h|g'
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${FIND} . | \
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|