Changeset View
Changeset View
Standalone View
Standalone View
www/py-django-profiles/Makefile
# Created by: Josh Paetzel <jpaetzel@FreeBSD.org> | # Created by: Josh Paetzel <jpaetzel@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= django-profiles | PORTNAME= django-profiles | ||||
PORTVERSION= 0.2 | PORTVERSION= 0.2 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= www python | CATEGORIES= www python | ||||
MASTER_SITES= http://bitbucket.org/ubernostrum/django-profiles/get/ | MASTER_SITES= http://bitbucket.org/ubernostrum/django-profiles/get/ | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${DJANGO_PKGNAMEPREFIX} | ||||
DISTNAME= v${PORTVERSION} | DISTNAME= v${PORTVERSION} | ||||
DIST_SUBDIR= ${PORTNAME} | DIST_SUBDIR= ${PORTNAME} | ||||
MAINTAINER= jpaetzel@FreeBSD.org | MAINTAINER= jpaetzel@FreeBSD.org | ||||
COMMENT= User-profile application for Django | COMMENT= User-profile application for Django | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18 | |||||
WRKSRC= ${WRKDIR}/${PORTNAME} | WRKSRC= ${WRKDIR}/${PORTNAME} | ||||
USES= python | USES= django python | ||||
USE_PYTHON= distutils | USE_PYTHON= distutils | ||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} | DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
post-install: | post-install: | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |