aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-coil/Makefile
blob: 1890c8f7f278ca112e1932ff65eefa0dd57dd3a6 (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-coil
# Date created:        13 April 2010
# Whom:                ghostonthewire <ghostonthewire at gmail dot com>
#
# $FreeBSD$
#

PORTNAME=   coil
PORTVERSION=    0.3.20
CATEGORIES= devel python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ghostonthewire@gmail.com
COMMENT=    A powerful configuration language for Python

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes

PORTDOCS=   README.txt \
        TODO.txt

post-install:
# docs
.ifndef(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

# permission safeness
    @${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/coil/*
    @${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/coil/*

.include <bsd.port.mk>