summaryrefslogtreecommitdiff
path: root/textproc/py-syck/Makefile
blob: b9771c5e564ba09c34f4332a30f1426f90b49d5c (plain)
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.61.2
CATEGORIES=	textproc devel python
MASTER_SITES=	http://pyyaml.org/download/pysyck/ \
		LOCAL/avl
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PYDISTUTILS_PKGNAME}-${PORTVERSION}

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

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

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	PySyck

post-patch:
	@${REINPLACE_CMD} -e 's|#include|include|g ; s|#library_dirs|library_dirs|g ; \
		s|/usr/local|${LOCALBASE}|g ' ${WRKSRC}/setup.cfg

.include <bsd.port.mk>