aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-yaml/Makefile
blob: 1d4082059a3669d114a9b80eb523c830a1b32a91 (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
# ex:ts=8
# Ports collection makefile for:    py-yaml
# Date created:         Jan 3, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   yaml
PORTVERSION=    3.01
CATEGORIES= devel python
MASTER_SITES=   http://pyyaml.org/download/pyyaml/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   PyYAML-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python YAML parser

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

post-install:
    @${FIND} ${PYTHON_SITELIBDIR}/yaml ! -type d | \
        ${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST}
    @${FIND} ${PYTHON_SITELIBDIR}/yaml -type d | ${SORT} -r | \
        ${SED} -e "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}

.include <bsd.port.mk>