mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
32 lines
640 B
Makefile
32 lines
640 B
Makefile
# Created by: buganini@gmail.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bsdconv
|
|
PORTVERSION= 11.3.0
|
|
CATEGORIES= converters python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
COMMENT= Python wrapper for bsdconv
|
|
|
|
LICENSE= ISCL
|
|
|
|
LIB_DEPENDS= libbsdconv.so:converters/bsdconv
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= buganini
|
|
GH_PROJECT= python-${PORTNAME}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils
|
|
|
|
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bsdconv.so
|
|
|
|
.include <bsd.port.mk>
|