# $OpenBSD$

COMMENT =		anonymous ntpd replacement using tor

V =			1.0
DISTNAME =		anondate-${V}
CATEGORIES =		net
HOMEPAGE =		https://notabug.org/Nanonymous/anondate/

# no license
PERMIT_PACKAGE =	Yes

# uses pledge()
WANTLIB +=		c

RUN_DEPENDS =		net/tor

MASTER_SITES =		${HOMEPAGE}

DISTFILES =		anondate-{archive/}${V}${EXTRACT_SUFX}

NO_TEST =		Yes

WRKDIST =		${WRKDIR}/anondate

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/anondate
	${INSTALL_DATA} ${WRKSRC}/anondate.conf ${PREFIX}/share/examples/anondate/

.include <bsd.port.mk>
