freebsd-ports/security/orthrus/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

41 lines
755 B
Makefile

# Created by: Gavin McDonald <gavin@16degrees.com.au>
# $FreeBSD$
PORTNAME= orthrus
PORTVERSION= 0.8.0
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE \
http://16degrees.com.au/${PORTNAME}/
MAINTAINER= gavin@16degrees.com.au
COMMENT= One-Time Password System (OTP) alternative to OPIE or S/Key
LICENSE= APACHE20
LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr1
USE_SCONS= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
USES= iconv
PORTDOCS= *
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && \
${INSTALL_DATA} NOTICE README TODO ${DOCSDIR})
.endif
${TOUCH} ${PREFIX}/etc/orthruskeys
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>