mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
9d0225d27c
PR: 226963 Approved by: cs (maintainer)
31 lines
696 B
Makefile
31 lines
696 B
Makefile
# Created by: <ports@c0decafe.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= onioncat
|
|
DISTVERSION= 0.2.2.r578
|
|
CATEGORIES= net security
|
|
MASTER_SITES= https://www.cypherpunk.at/ocat/download/Source/stable/
|
|
|
|
MAINTAINER= cs@FreeBSD.org
|
|
COMMENT= IP-transparent Tor Hidden Service connector
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= tor:security/tor
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
PLIST_FILES= bin/ocat man/man1/ocat.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/CFLAGS=/s|-O2|$$CFLAGS|' ${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|