diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-02 12:14:42 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-02 12:14:42 +0800 |
commit | 7f5f1b6218752c804abfa37d88ab488cba695a62 (patch) | |
tree | feb790916829651b53b9fe470fd4b814d613c9a0 | |
parent | 9015ef84c518f120e9ad6418aaefa340ac3bfbba (diff) | |
download | freebsd-ports-gnome-7f5f1b6218752c804abfa37d88ab488cba695a62.tar.gz freebsd-ports-gnome-7f5f1b6218752c804abfa37d88ab488cba695a62.tar.zst freebsd-ports-gnome-7f5f1b6218752c804abfa37d88ab488cba695a62.zip |
1: Stagify.
2: use options helper.
3: add LICENSE
Approved by: portmgr@ (blanket approval)
-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> |