From 0dbf46a73df8e17fac7711091ce2d7318bab7689 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 23 May 2016 10:54:42 +0000 Subject: - Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers --- net/pythondirector/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net/pythondirector') diff --git a/net/pythondirector/Makefile b/net/pythondirector/Makefile index 08cb813d1340..2c305bb4e0f1 100644 --- a/net/pythondirector/Makefile +++ b/net/pythondirector/Makefile @@ -11,14 +11,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= TCP load balancer written in Python LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/doc/LICENSE.txt -USE_PYTHON= distutils autoplist USES= python twisted:run +USE_PYTHON= distutils autoplist +NO_ARCH= yes PORTDOCS= * -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR}/ +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ .include -- cgit v1.2.3