blob: 554508e1ec1dc8e4fd4d465014b749338459a135 (
plain) (
blame)
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
30
|
# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= bsdconv
PORTVERSION= 11.1.0
CATEGORIES= converters python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
MAINTAINER= buganini@gmail.com
COMMENT= Python wrapper for bsdconv
LICENSE= BSD
LIB_DEPENDS= libbsdconv.so:${PORTSDIR}/converters/bsdconv
USE_GITHUB= yes
GH_ACCOUNT= buganini
GH_COMMIT= 075a20e
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
.include <bsd.port.mk>
|