aboutsummaryrefslogtreecommitdiffstats
path: root/net/clamz/pkg-plist
blob: 37de723edc352bb3e670a21343da93a5360e0211 (plain) (blame)
1
2
3
4
bin/clamz
share/applications/clamz.desktop
share/mime/packages/clamz.xml
man/man1/clamz.1.gz
rts-gnome/?h=gstreamer0.10-removal'>summaryrefslogtreecommitdiffstats
path: root/math/py-cryptominisat/Makefile
blob: fbce53c73219b8788eb659e49e8909cd73ff7a9d (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
31
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

PORTNAME=   cryptominisat
DISTVERSION=    5.6.3
PORTREVISION=   1
CATEGORIES= math python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= arrowd@FreeBSD.org
COMMENT=    Bindings to CryptoMiniSat (a SAT solver)

LICENSE=    MIT LGPL21
LICENSE_COMB=   multi
LICENSE_FILE_LGPL21=    ${WRKSRC}/../LICENSE.txt
LICENSE_FILE_MIT=   ${WRKSRC}/../LICENSE.txt

LIB_DEPENDS=    libcryptominisat5.so:math/cryptominisat

USES=       compiler:c++11-lib python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes

GH_ACCOUNT= msoos

WRKSRC_SUBDIR=  python

PYDISTUTILS_BUILDTARGET=    build_ext --include-dirs=${LOCALBASE}/include

post-patch:
    ${REINPLACE_CMD} -e 's|@PROJECT_VERSION@|${PORTVERSION}|' \
        -e 's|$${CMAKE_C_COMPILER}|${CC}|' \
        -e 's|$${CMAKE_CXX_COMPILER}|${CXX}|' \
        -e 's|$${PY_C_CONFIG}||' \
        -e 's|$${PY_LD_CONFIG}||' \
        -e 's|$${APPLE}||' ${WRKSRC}/setup.py.in
    ${CP} ${WRKSRC}/setup.py.in ${WRKSRC}/setup.py

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pycryptosat.so

.include <bsd.port.mk>