freebsd-ports/security/dropbear/Makefile

42 lines
1,000 B
Makefile
Raw Normal View History

# New ports collection makefile for: dropbear
# Date created: 20 August 2003
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= dropbear
PORTVERSION= 0.52
CATEGORIES= security ipv6
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/
2007-03-23 09:41:18 +01:00
MAINTAINER= spam@rm-rf.kiev.ua
COMMENT= An SSH 2 server, designed to be usable in small memory environments
GNU_CONFIGURE= YES
USE_BZIP2= YES
USE_GMAKE= YES
OPTIONS= STATIC "Build statically" off
USE_RC_SUBR= ${PORTNAME}
.include <bsd.port.pre.mk>
.if defined(WITH_STATIC)
CONFIGURE_ENV= LDFLAGS=-static
.endif
post-patch:
@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/options.h
@${REINPLACE_CMD} -e "s,sys/dir.h,dirent.h," ${WRKSRC}/*.[ch]
2005-07-10 21:52:15 +02:00
@${REINPLACE_CMD} -e "s,make clean,\$${MAKE} clean," \
2005-01-08 17:49:03 +01:00
${WRKSRC}/libtomcrypt/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/etc/dropbear
@${ECHO_MSG} ""
.include <bsd.port.post.mk>