freebsd-ports/converters/py-bsdconv/Makefile
Martin Wilke 5af7bc41cb BSD licensed charset/encoding converter library with more function than
libiconv. (Currently, only a few codecs are supported)
This port is a python wrapper for bsdconv.

WWW: http://github.com/buganini/bsdconv/

PR:		ports/139524
Submitted by:	buganini at gmail.com
2009-10-14 14:21:58 +00:00

30 lines
706 B
Makefile

# New ports collection makefile for: py-bsdconv
# Date created: 11 Oct 2009
# Whom: buganini@gmail.com
#
# $FreeBSD$
#
PORTNAME= bsdconv
PORTVERSION= 3.5
CATEGORIES= converters python
MASTER_SITES= http://security-hole.info/distfile/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= buganini-bsdconv-c14ef1b
MAINTAINER= buganini@gmail.com
COMMENT= Python wrapper for bsdconv
LIB_DEPENDS= bsdconv.3:${PORTSDIR}/converters/bsdconv
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/python
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>