blob: 8a7546119f2411648684fdeaa246753c2dc37d0a (
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
35
36
37
38
39
|
# New ports collection makefile for: dropbear
# Date created: 20 August 2003
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= dropbear
PORTVERSION= 0.36
CATEGORIES= security ipv6
MASTER_SITES= http://matt.ucc.asn.au/dropbear/
MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= An SSH 2 server, designed to be usable in small memory environments
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_REINPLACE= YES
.if defined(IS_STATIC)
CONFIGURE_ENV= LDFLAGS=-static
.endif
BIN= dropbear dropbearkey dropbearconvert
post-configure:
@${REINPLACE_CMD} -e "s,/etc/,${PREFIX}/etc/,g" ${WRKSRC}/options.h
@${REINPLACE_CMD} -e "s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h
do-install:
.for bin in ${BIN}
@${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOC)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|