Lines 2-10
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pgrouting |
4 |
PORTNAME= pgrouting |
5 |
PORTVERSION= 2.0.0 |
5 |
PORTVERSION= 2.2.1 |
6 |
DISTVERSIONPREFIX= v |
|
|
7 |
PORTREVISION= 4 |
8 |
CATEGORIES= databases geography |
6 |
CATEGORIES= databases geography |
9 |
|
7 |
|
10 |
MAINTAINER= coder@tuxfamily.org |
8 |
MAINTAINER= coder@tuxfamily.org |
Lines 12-26
Link Here
|
12 |
|
10 |
|
13 |
LICENSE= GPLv2 |
11 |
LICENSE= GPLv2 |
14 |
|
12 |
|
15 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs\ |
13 |
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs\ |
16 |
libCGAL.so:math/cgal \ |
14 |
libCGAL.so:${PORTSDIR}/math/cgal \ |
17 |
libgmp.so:math/gmp |
15 |
libgmp.so:${PORTSDIR}/math/gmp |
18 |
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:databases/postgis21 |
16 |
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:${PORTSDIR}/databases/postgis21 |
19 |
|
17 |
|
20 |
USES= compiler:features cmake pgsql pkgconfig |
18 |
USES= compiler:c++11-lib cmake pgsql:9.1+ pkgconfig |
21 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
22 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
23 |
GH_ACCOUNT= pgRouting |
21 |
GH_ACCOUNT= pgRouting |
|
|
22 |
GH_TAGNAME= 90b9901 |
24 |
|
23 |
|
25 |
CFLAGS+= -I${LOCALBASE}/include |
24 |
CFLAGS+= -I${LOCALBASE}/include |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
Lines 27-52
Link Here
|
27 |
|
26 |
|
28 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
29 |
|
28 |
|
30 |
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 |
29 |
#.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 |
31 |
BUILD_DEPENDS+= clang36:lang/clang36 |
30 |
#BUILD_DEPENDS+= clang36:${PORTSDIR}/lang/clang36 |
32 |
CPP= clang-cpp36 |
31 |
#CPP= clang-cpp36 |
33 |
CC= clang36 |
32 |
#CC= clang36 |
34 |
CXX= clang++36 |
33 |
#CXX= clang++36 |
35 |
.endif |
34 |
#CXXFLAGS+= -std=c++11 |
|
|
35 |
#.endif |
36 |
|
36 |
|
37 |
.if ${PGSQL_VER} >= 9.1 |
|
|
38 |
PLIST_SUB+= OLDPG="@comment " NEWPG="" |
39 |
|
40 |
|
41 |
post-install: |
42 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/extension |
43 |
.for f in pgrouting--2.0.0.sql pgrouting.control pgrouting_dd_legacy.sql \ |
44 |
pgrouting--2.0.0.sql.in pgrouting.sql pgrouting_legacy.sql |
45 |
${INSTALL_DATA} ${WRKSRC}/lib/${f} ${STAGEDIR}${PREFIX}/share/postgresql/extension/ |
46 |
.endfor |
47 |
|
48 |
.else |
49 |
PLIST_SUB+= OLDPG="" NEWPG="@comment " |
50 |
.endif |
51 |
|
52 |
.include <bsd.port.post.mk> |
37 |
.include <bsd.port.post.mk> |