2007-01-01 01:01:27 +01:00
|
|
|
# New ports collection makefile for: py-notifier
|
|
|
|
# Date created: 2006-12-31
|
|
|
|
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= notifier
|
2007-02-24 08:53:09 +01:00
|
|
|
PORTVERSION= 0.5.8
|
2007-01-01 01:01:27 +01:00
|
|
|
CATEGORIES= devel python
|
2007-01-16 22:28:18 +01:00
|
|
|
MASTER_SITES= http://www.bitkipper.net/bytes/pynotifier/source/
|
2007-01-01 01:01:27 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}_${PORTVERSION}-1
|
|
|
|
|
2007-04-04 10:49:31 +02:00
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2007-01-01 01:01:27 +01:00
|
|
|
COMMENT= A generic notifier/event scheduler abstraction
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pynotifier
|
2007-01-01 01:01:27 +01:00
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2007-01-01 01:01:27 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2007-06-22 07:51:25 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-01-01 01:01:27 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2007-02-24 08:53:09 +01:00
|
|
|
${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
2007-01-01 01:01:27 +01:00
|
|
|
.endif
|
|
|
|
|
2007-01-16 22:28:18 +01:00
|
|
|
.include <bsd.port.mk>
|