aboutsummaryrefslogtreecommitdiffstats
path: root/security/srp/Makefile
blob: ddd56b9b5e91739a3e7a12af0f3c0c23726fa28d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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>