1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/converters/py-bsdconv/Makefile
Sunpoet Po-Chuan Hsieh 5e62545324 - Update to 7.3
Changes:	https://github.com/buganini/python-bsdconv/commits/master
PR:		ports/163949
Submitted by:	Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
2012-01-09 16:11:47 +00:00

33 lines
830 B
Makefile

# New ports collection makefile for: py-bsdconv
# Date created: 11 Oct 2009
# Whom: buganini@gmail.com
#
# $FreeBSD$
#
PORTNAME= bsdconv
PORTVERSION= 7.3
CATEGORIES= converters python
MASTER_SITES= https://github.com/buganini/python-${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
MAINTAINER= buganini@gmail.com
COMMENT= Python wrapper for bsdconv
LICENSE= BSD
LIB_DEPENDS= bsdconv.7:${PORTSDIR}/converters/bsdconv
GITVERSION= 86bb880
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/buganini-python-${PORTNAME}-${GITVERSION}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>