2012-11-01 17:41:10 +01:00
|
|
|
# Created by: <ports@c0decafe.net>
|
2010-05-10 04:24:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= onioncat
|
2013-03-02 07:36:32 +01:00
|
|
|
PORTVERSION= 0.2.2.r554
|
2010-05-10 04:24:54 +02:00
|
|
|
CATEGORIES= net security
|
2013-03-02 07:36:32 +01:00
|
|
|
MASTER_SITES= https://www.cypherpunk.at/ocat/download/Source/stable/
|
2010-05-10 04:24:54 +02:00
|
|
|
|
2014-04-22 22:42:45 +02:00
|
|
|
MAINTAINER= cs@FreeBSD.org
|
2012-11-01 17:41:10 +01:00
|
|
|
COMMENT= IP-transparent Tor Hidden Service connector
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
2010-05-10 04:24:54 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= tor:${PORTSDIR}/security/tor
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-03-02 07:36:32 +01:00
|
|
|
CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
|
2010-05-10 04:24:54 +02:00
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2014-01-31 18:04:25 +01:00
|
|
|
PLIST_FILES= bin/ocat man/man1/ocat.1.gz
|
2010-05-10 04:24:54 +02:00
|
|
|
|
2012-11-01 17:41:10 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/CFLAGS=/s|-O2|$$CFLAGS|' ${WRKSRC}/configure
|
2010-05-10 04:24:54 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-01-31 18:04:25 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2010-05-10 04:24:54 +02:00
|
|
|
|
2012-11-01 17:41:10 +01:00
|
|
|
.include <bsd.port.mk>
|