mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
6cad736824
PR: 59133 Submitted by: Ports Fury
35 lines
781 B
Makefile
35 lines
781 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>
|