1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/py-meld/Makefile
Ruslan Makhmatkhanov 0a346a35a8 - update to 2.1.4
- add LICENSE (MIT)
- strict python versions (won't work with python3)
2012-01-13 07:04:35 +00:00

42 lines
1021 B
Makefile

# New ports collection makefile for: py-meld
# Date created: 2 May 2006
# Whom: 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
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>