1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/www/py-meld/Makefile

39 lines
958 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= A system for manipulating HTML using a Pythonic object model
LICENSE= MIT
USE_PYTHON= -2.7
PLIST_FILES= %%PYTHON_SITELIBDIR%%/PyMeld.py \
%%PYTHON_SITELIBDIR%%/PyMeld.pyc \
%%PYTHON_SITELIBDIR%%/PyMeld.pyo
NO_STAGE= yes
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:
${INSTALL_DATA} ${WRKSRC}/PyMeld.py ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/PyMeld.pyc ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/PyMeld.pyo ${PYTHON_SITELIBDIR}
.include <bsd.port.mk>