diff options
-rw-r--r-- | www/py-django-profiles/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/www/py-django-profiles/Makefile b/www/py-django-profiles/Makefile index 6ae4a76c4c2e..7f1a515f9f5f 100644 --- a/www/py-django-profiles/Makefile +++ b/www/py-django-profiles/Makefile @@ -12,19 +12,22 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER= jpaetzel@FreeBSD.org COMMENT= A user-profile application for Django +LICENSE= BSD3CLAUSE + RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django WRKSRC= ${WRKDIR}/${PORTNAME} USE_PYTHON= yes USE_PYDISTUTILS= yes - DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |