1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/py-meld/Makefile
Pav Lucistnik dcb8e9167b A simple, lightweight system for manipulating HTML (and XML, informally) using
a Pythonic object model.

Features:
 - Allows program logic and HTML to be completely separated - a graphical
   designer can design the HTML in a visual HTML editor, without needing to
   deal with any non-standard syntax or non-standard attribute names.
 - Designed with common HTML-application programming tasks in mind.
 - No special requirements for the HTML/XML (or just one: attribute values must
   be quoted) - so you can use any editor, and your HTML/XML doesn't need to be
   strictly valid.
 - Works by string substitution, rather than by decomposing and rebuilding the
   markup, hence has no impact on the parts of the page you don't manipulate.
 - Does nothing but manipulating HTML/XML, hence fits in with any other Web
   toolkits you're using.
 - Tracebacks always point to the right place - many Python/HTML mixing systems
   use exec or eval, making bugs hard to track down.

WWW: http://www.entrian.com/PyMeld/index.html

PR:		ports/96698
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2006-05-07 14:00:08 +00:00

40 lines
1012 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.3
CATEGORIES= www python
MASTER_SITES= http://www.entrian.com/PyMeld/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyMeld
EXTRACT_SUFX= .py
EXTRACT_ONLY= # This space left intentionally empty
MAINTAINER= alex@foxybanana.com
COMMENT= A system for manipulating HTML using a Pythonic object model
USE_PYTHON= yes
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>