2010-04-02 13:06:43 +00:00
|
|
|
# New ports collection makefile for: sslh
|
|
|
|
# Date created: 2010-03-29
|
|
|
|
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sslh
|
2012-06-03 00:17:34 +00:00
|
|
|
PORTVERSION= 1.13
|
2012-11-18 16:33:31 +00:00
|
|
|
PORTREVISION= 1
|
2010-04-02 13:06:43 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.rutschle.net/tech/
|
|
|
|
|
2012-02-13 08:50:09 +00:00
|
|
|
MAINTAINER= olivier@cochard.me
|
2010-04-02 13:06:43 +00:00
|
|
|
COMMENT= A ssl/ssh multiplexer
|
|
|
|
|
2012-06-03 00:17:34 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}b.tar.gz
|
|
|
|
|
|
|
|
LIB_DEPENDS= config:${PORTSDIR}/devel/libconfig
|
|
|
|
|
2010-04-02 13:06:43 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
|
2012-06-03 00:17:34 +00:00
|
|
|
OPTIONS_DEFINE= MANPAGES EXAMPLES
|
|
|
|
OPTIONS_DEFAULT= MANPAGES EXAMPLES
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
MAKE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
2010-04-02 13:06:43 +00:00
|
|
|
MAN8= sslh.8
|
2010-11-15 16:20:06 +00:00
|
|
|
.endif
|
2012-02-13 08:50:09 +00:00
|
|
|
|
2010-08-12 18:31:18 +00:00
|
|
|
USE_RC_SUBR= sslh
|
|
|
|
|
2012-06-03 00:17:34 +00:00
|
|
|
PORTEXAMPLES= example.cfg
|
2012-06-03 15:23:14 +00:00
|
|
|
MANCOMPRESSED= yes
|
2010-04-02 13:06:43 +00:00
|
|
|
|
|
|
|
do-install:
|
2012-02-13 08:50:09 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/sslh-fork ${PREFIX}/sbin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/sslh-select ${PREFIX}/sbin
|
2012-06-03 00:17:34 +00:00
|
|
|
#@${MKDIR} ${VARDIR}/run/${PORTNAME}
|
|
|
|
#@${CHOWN} -R nobody:nobody ${VARDIR}/run/${PORTNAME}
|
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
2012-06-03 15:23:14 +00:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/sslh.8.gz ${MANPREFIX}/man/man8
|
2010-04-02 13:06:43 +00:00
|
|
|
.endif
|
2012-06-03 00:17:34 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.endif
|
2010-04-02 13:06:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|