aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-meld/Makefile
blob: 33ad02fb7ac6d67154dd3e8f92fc4bb8dc7bf803 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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= ports@FreeBSD.org
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>