freebsd-ports/www/py-albatross/Makefile
Ruslan Makhmatkhanov 19ed9f2235 www/py-albatross: update to 1.42
- update to 1.42
- convert to autogenerated packing list
- limit python version to 2.x
- convert docs/examples installation to more common practice
- add NO_ARCH

PR:		200742
Submitted by:	rm (myself)
Approved by:	maintainer timeout (14 days)
2015-06-23 18:17:54 +00:00

33 lines
958 B
Makefile

# Created by: Gregory Bond <gnb@itga.com.au>
# $FreeBSD$
PORTNAME= albatross
PORTVERSION= 1.42
CATEGORIES= www python
MASTER_SITES= http://object-craft.com.au/projects/albatross/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-html-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= gnb@itga.com.au
COMMENT= Python toolkit for developing highly stateful web applications
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= python:2
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} \
${STAGEDIR}${DOCSDIR}/html
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
(cd ${WRKDIR}/albatross-html-${PORTVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html)
(cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
.include <bsd.port.mk>