aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-libversion/Makefile
blob: 157417d6c92578bed9f06ba07884f117744ee5e0 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libversion
PORTVERSION=    1.2.0
CATEGORIES= devel
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Python bindings for libversion

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libversion.so:devel/libversion

USES=       python:3.6+ pkgconfig
USE_PYTHON= autoplist distutils

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libversion/_libversion.so

.include <bsd.port.mk>