1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/py-meld/Makefile
Marcus von Appen 1b0994ee1e - Convert USE_PYTHON to new USES in www/
With hat:	python@
2015-01-03 08:41:20 +00:00

39 lines
1017 B
Makefile

# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
# $FreeBSD$
PORTNAME= meld
PORTVERSION= 2.1.4
CATEGORIES= www python
MASTER_SITES= http://entrian.com/PyMeld/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyMeld
EXTRACT_SUFX= .py
EXTRACT_ONLY= # This space left intentionally empty
MAINTAINER= ports@FreeBSD.org
COMMENT= System for manipulating HTML using a Pythonic object model
LICENSE= MIT
USES= python:2
PLIST_FILES= %%PYTHON_SITELIBDIR%%/PyMeld.py \
%%PYTHON_SITELIBDIR%%/PyMeld.pyc \
%%PYTHON_SITELIBDIR%%/PyMeld.pyo
pre-build:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
@cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import PyMeld' && \
${PYTHON_CMD} -c 'import PyMeld'
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/PyMeld.py ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/PyMeld.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/PyMeld.pyo ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>