1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/py-meld/Makefile
2013-12-30 12:59:20 +00:00

39 lines
1015 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
USE_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>