aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-dynrules/Makefile
blob: 376516bd8ddc2890a4ff91cba131dc86c9fcb8c7 (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
# New ports collection makefile for:    py-dynrules
# Date created:     2008-12-22
# Whom:         Marcus von Appen <mva@sysfault.org>
#
# $FreeBSD$
#

PORTNAME=   dynrules
PORTVERSION=    0.0.6
CATEGORIES= devel python
MASTER_SITES=   http://sysfault.org/projects/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= mva@sysfault.org
COMMENT=    Dynamic Scripting for adaptive AI systems

USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    dynrules

post-install:
.if !defined(NOPORTEXAMPLES)
    @${INSTALL} -d ${EXAMPLESDIR}/
    @cd ${WRKSRC}/doc/examples && \
        ${INSTALL_DATA} ./* ${EXAMPLESDIR}/
.endif
.if !defined(NOPORTDOCS)
    @${INSTALL} -d ${DOCSDIR}/html
    @${TAR} -C ${WRKSRC}/doc/html -cf - . | \
        ${TAR} -C ${DOCSDIR}/html -xf -
.endif
.include <bsd.port.mk>