freebsd-ports/textproc/py-syck/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

28 lines
690 B
Makefile

# Created by: dd
# $FreeBSD$
PORTNAME= syck
PORTVERSION= 0.61.2
PORTREVISION= 1
CATEGORIES= textproc devel python
MASTER_SITES= http://pyyaml.org/download/pysyck/ \
LOCAL/avl
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PySyck-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python binding for Syck, a YAML parser and emitter
BUILD_DEPENDS= ${LOCALBASE}/lib/libsyck.a:textproc/syck
USES= python
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|#include|include|g ; s|#library_dirs|library_dirs|g ; \
s|/usr/local|${LOCALBASE}|g ' ${WRKSRC}/setup.cfg
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_syck.so
.include <bsd.port.mk>