freebsd-ports/www/py-django-profiles/Makefile
Vanilla I. Shu 30b5044a84 1: Stagify.
2: use options helper.
3: add LICENSE

Approved by:	portmgr@ (blanket approval)
2014-07-02 04:14:42 +00:00

33 lines
803 B
Makefile

# Created by: Josh Paetzel <jpaetzel@FreeBSD.org>
# $FreeBSD$
PORTNAME= django-profiles
PORTVERSION= 0.2
CATEGORIES= www python
MASTER_SITES= http://bitbucket.org/ubernostrum/django-profiles/get/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= v${PORTVERSION}
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>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>