1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/py-Jinja/Makefile
Ruslan Makhmatkhanov 6c10d7297f devel/py-Jinja2: support staging and do general clean-up
- remove indefinite article from COMMENT
- add license (BSD3C)
- do not use easy_install for installation and convert to auto-generated packing list
- add staging support
- simplify docs installation:
  - install docs manually
  - install docs unconditionally into staging area
  - no need to install doc sources, compiled html versions are suffice
- limit python version to 2.x only:
  ===>  Configuring for py33-Jinja-1.2_3
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "setup.py", line 28
      except DistutilsError, e:
                         ^
  SyntaxError: invalid syntax
  *** Error code 1
- remove deprecated author attribution from pkg-descr and do tab->space change in WWW
- bump PORTREVISION

Approved by:	nivit (maintainer, explicitly for such changes in his ports)
2014-03-03 09:47:32 +00:00

29 lines
638 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= Jinja
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Fast and easy to use stand-alone template engine
LICENSE= BSD3CLAUSE
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>