mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
0a346a35a8
- add LICENSE (MIT) - strict python versions (won't work with python3)
42 lines
1021 B
Makefile
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>
|