View | Details | Raw Unified | Return to bug 249388
Collapse All | Expand All

(-)Makefile (-1 / +16 lines)
Lines 15-21 Link Here
15
15
16
BUILD_DEPENDS=	docbook-to-man:textproc/docbook-to-man
16
BUILD_DEPENDS=	docbook-to-man:textproc/docbook-to-man
17
17
18
USES=		autoreconf libtool:keepla python:2.7 shebangfix
18
USES=		autoreconf libtool:keepla python shebangfix
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
USE_RC_SUBR=	flow_capture flow_fanout
21
USE_RC_SUBR=	flow_capture flow_fanout
Lines 38-49 Link Here
38
38
39
OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
39
OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
40
40
41
PY2TO3_CMD=     ${LOCALBASE}/bin/2to3-${PYTHON_VER}
42
PY2TO3_ARGS=    --fix=all --no-diffs --nobackups --verbose --write
43
41
MYSQL_USES=		mysql
44
MYSQL_USES=		mysql
42
MYSQL_CONFIGURE_ON=	--with-mysql="${LOCALBASE}"
45
MYSQL_CONFIGURE_ON=	--with-mysql="${LOCALBASE}"
43
OPENSSL_USES=		ssl
46
OPENSSL_USES=		ssl
44
OPENSSL_CONFIGURE_ON=	--with-openssl="${OPENSSLBASE}"
47
OPENSSL_CONFIGURE_ON=	--with-openssl="${OPENSSLBASE}"
45
PGSQL_USES=		pgsql
48
PGSQL_USES=		pgsql
46
PGSQL_CONFIGURE_ON=	--with-postgresql
49
PGSQL_CONFIGURE_ON=	--with-postgresql
50
PGSQL_CONFIGURE_OFF=	--with-postgresql=no
51
52
.include <bsd.port.pre.mk>
53
54
post-patch:
55
.       if ${PYTHON_MAJOR_VER} >= 3
56
	${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/bin/flow-*
57
.       endif
58
59
#.if ${PYTHON_REL} >= 3000
60
#        @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/bin/flow-*
61
#.endif
47
62
48
post-install:
63
post-install:
49
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libft.so.0.0.0
64
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libft.so.0.0.0

Return to bug 249388