aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-syck/Makefile
blob: 62a56ac321151289853b9627a14cf1002c4387aa (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
# New ports collection makefile for:    py-syck
# Date created:         2 December 2004
# Whom:             dd
#
# $FreeBSD$
#

PORTNAME=   syck
PORTVERSION=    0.55
CATEGORIES= textproc devel
MASTER_SITES=   ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= dd@FreeBSD.org
COMMENT=    Python binding for Syck, a YAML parser and emitter

BUILD_DEPENDS=  ${LOCALBASE}/lib/libsyck.a:${PORTSDIR}/textproc/syck

SITELIBDIR= %%PYTHON_SITELIBDIR%%/
PYFILES=    ypath.py ydump.py yaml2xml.py
PYFILES_=   ${PYFILES:S/^/${SITELIBDIR}/}
PLIST_FILES=    ${PYFILES_} ${PYFILES_:S/$/c/} ${PYFILES_:S/$/o/}

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
WRKSRC=     ${WRKDIR}/${DISTNAME}/ext/python

.include <bsd.port.mk>