Lines 2-20
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= googlemock |
4 |
PORTNAME= googlemock |
5 |
PORTVERSION= 1.5.0 |
5 |
PORTVERSION= 1.7.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
8 |
MASTER_SITES= GOOGLE_CODE |
7 |
MASTER_SITES= GOOGLE_CODE \ |
|
|
8 |
https://googlemock.googlecode.com/svn-history/r407/trunk/scripts/:svn |
9 |
DISTNAME= gmock-${PORTVERSION} |
9 |
DISTNAME= gmock-${PORTVERSION} |
|
|
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gmock_doctor.py:svn |
11 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
10 |
|
12 |
|
11 |
MAINTAINER= clsung@FreeBSD.org |
13 |
MAINTAINER= clsung@FreeBSD.org |
12 |
COMMENT= Library for writing and using C++ mock classes |
14 |
COMMENT= Library for writing and using C++ mock classes |
13 |
|
15 |
|
14 |
BUILD_DEPENDS= googletest>=1.5.0:${PORTSDIR}/devel/googletest |
16 |
LICENSE= BSD3CLAUSE |
15 |
|
17 |
|
16 |
USES= libtool |
18 |
BUILD_DEPENDS= googletest>=1.7.0:${PORTSDIR}/devel/googletest |
|
|
19 |
|
20 |
USES= libtool shebangfix zip |
17 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
18 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
19 |
|
23 |
|
|
|
24 |
CONFIGURE_ENV= ac_cv_path_PYTHON=python2 |
25 |
python_OLD_CMD= /usr/bin/env python |
26 |
python_CMD= /usr/bin/env python2 |
27 |
SHEBANG_FILES= scripts/fuse_gmock_files.py scripts/gmock_doctor.py |
28 |
|
29 |
OPTIONS_DEFINE= TEST |
30 |
|
31 |
TEST_USE= python:2,build |
32 |
TEST_ALL_TARGET=check |
33 |
|
34 |
post-extract: |
35 |
# XXX gmock_doctor.py is missing from distfile before r455 or 1.8.0 |
36 |
${CP} ${DISTDIR}/gmock_doctor.py ${WRKSRC}/scripts |
37 |
|
38 |
post-patch: |
39 |
# enable vendor make install again (revert r562) |
40 |
${REINPLACE_CMD} -E 's/ install-(exec|data)-local//' \ |
41 |
${WRKSRC}/Makefile.in |
42 |
|
43 |
post-install: |
44 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock-config ${STAGEDIR}${PREFIX}/bin |
45 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock_doctor.py ${STAGEDIR}${PREFIX}/bin |
46 |
|
20 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |