aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-notifier/Makefile
blob: 7cd75849e8fe92df39431bd6c0d83b11fc66ad78 (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-notifier
# Date created:     2006-12-31
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   notifier
PORTVERSION=    0.5.8
CATEGORIES= devel python
MASTER_SITES=   http://www.bitkipper.net/bytes/pynotifier/source/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py${PORTNAME}_${PORTVERSION}-1

MAINTAINER= lwhsu@lwhsu.org
COMMENT=    A generic notifier/event scheduler abstraction

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

EXAMPLESDIR=    ${TARGETDIR}/share/examples/py-${PORTNAME}

WRKSRC=     ${WRKDIR}/py${PORTNAME}-${PORTVERSION}

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>