2003-09-08 11:09:36 +02:00
|
|
|
# New ports collection makefile for: dropbear
|
|
|
|
# Date created: 20 August 2003
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dropbear
|
2008-12-26 23:16:27 +01:00
|
|
|
PORTVERSION= 0.52
|
2003-09-08 11:09:36 +02:00
|
|
|
CATEGORIES= security ipv6
|
2003-10-06 14:30:05 +02:00
|
|
|
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/
|
2003-09-08 11:09:36 +02:00
|
|
|
|
2007-03-23 09:41:18 +01:00
|
|
|
MAINTAINER= spam@rm-rf.kiev.ua
|
2003-09-08 11:09:36 +02:00
|
|
|
COMMENT= An SSH 2 server, designed to be usable in small memory environments
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2008-12-26 23:16:27 +01:00
|
|
|
USE_BZIP2= YES
|
2003-09-08 11:09:36 +02:00
|
|
|
USE_GMAKE= YES
|
|
|
|
|
2007-08-14 15:52:32 +02:00
|
|
|
OPTIONS= STATIC "Build statically" off
|
2007-04-16 21:33:06 +02:00
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2007-03-18 18:51:18 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-08-14 15:52:32 +02:00
|
|
|
.if defined(WITH_STATIC)
|
2003-09-08 11:09:36 +02:00
|
|
|
CONFIGURE_ENV= LDFLAGS=-static
|
|
|
|
.endif
|
|
|
|
|
2003-12-17 12:56:01 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/options.h
|
2004-01-14 13:17:49 +01:00
|
|
|
@${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
|
2003-09-08 11:09:36 +02:00
|
|
|
|
2003-10-11 20:05:09 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/etc/dropbear
|
2003-12-17 12:56:01 +01:00
|
|
|
@${ECHO_MSG} ""
|
2003-09-08 11:09:36 +02:00
|
|
|
|
2007-03-18 18:51:18 +01:00
|
|
|
.include <bsd.port.post.mk>
|