aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-logging/Makefile
blob: 723fd03c25747f1b5ee8426a0887204228546af8 (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
# New ports collection makefile for:    py-logging
# Date created:     6 April 2002
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   logging
PORTVERSION=    0.4.6
CATEGORIES= devel python
MASTER_SITES=   http://www.red-dove.com/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= perky@FreeBSD.org

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

EXAMPLESDIR=    ${PREFIX}/share/examples/py-logging
EXAMPLEFILES=   README.txt app.py default.css events.xml log_*.py \
        logconf.ini logconf.py logging.dtd logging.xml logrecv.py \
        myapp.py mymodule.py

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
    @cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLEFILES} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>