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

(-)Makefile (-10 / +14 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	mongodb
8
PORTNAME=	mongodb
9
PORTVERSION=	1.6.5
9
PORTVERSION=	1.6.5
10
PORTREVISION=	1
10
CATEGORIES=	databases net
11
CATEGORIES=	databases net
11
MASTER_SITES=	http://downloads.mongodb.org/src/ \
12
MASTER_SITES=	http://downloads.mongodb.org/src/ \
12
		http://derzinn.de/files/
13
		http://derzinn.de/files/
Lines 24-51 Link Here
24
ONLY_FOR_ARCHS=	i386 amd64
25
ONLY_FOR_ARCHS=	i386 amd64
25
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
26
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
26
27
28
OPTIONS=	DEVEL "Install development files (library and headers)" off
29
27
USE_SCONS=	yes
30
USE_SCONS=	yes
28
SCONS_TARGET=	all
31
SCONS_TARGET=	all
32
SCONS_ARGS=	--prefix=${PREFIX}
29
33
30
USE_RC_SUBR=	mongod
34
USE_RC_SUBR=	mongod
31
MONGO_FILES=	mongo mongod mongodump mongoexport mongofiles \
32
		mongoimport mongorestore mongos mongosniff mongostat
33
35
34
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
37
35
.if ${OSVERSION} < 700042
38
.if ${OSVERSION} < 700042
36
BROKEN=		Does not build
39
BROKEN=		Does not build
37
.endif
40
.endif
38
41
42
.if defined(WITH_DEVEL)
43
SCONS_ARGS+=	--full
44
PLIST_SUB+=	DEVEL=""
45
.else
46
PLIST_SUB+=	DEVEL="@comment "
47
.endif
48
39
post-patch:
49
post-patch:
40
	@${REINPLACE_CMD} -E -e 's|elif "freebsd7" == os.sys.platform|elif os.sys.platform.startswith("freebsd")|' \
50
	@${REINPLACE_CMD} -e 's|elif "freebsd7" == os.sys.platform|elif os.sys.platform.startswith("freebsd")|' \
51
			  -e '/not GetOption("nostrip")/ s,linux,linux or freebsd,g' \
41
		${WRKSRC}/SConstruct
52
		${WRKSRC}/SConstruct
42
	@${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#g' ${WRKSRC}/SConstruct
43
44
do-install:
45
.for i in ${MONGO_FILES}
46
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
47
.endfor
48
	${INSTALL_DATA} ${WRKSRC}/libmongoclient.a ${PREFIX}/lib
49
53
50
post-install:
54
post-install:
51
	@if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \
55
	@if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \
(-)pkg-plist (-2 / +173 lines)
Lines 1-4 Link Here
1
@unexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
1
@unexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
2
@exec  if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
3
bin/bsondump
2
bin/mongo
4
bin/mongo
3
bin/mongod
5
bin/mongod
4
bin/mongodump
6
bin/mongodump
Lines 9-13 Link Here
9
bin/mongos
11
bin/mongos
10
bin/mongosniff
12
bin/mongosniff
11
bin/mongostat
13
bin/mongostat
12
lib/libmongoclient.a
14
%%DEVEL%%lib/libmongoclient.a
13
@exec  if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
15
%%DEVEL%%include/mongo/bson/bson.h
16
%%DEVEL%%include/mongo/bson/bson_db.h
17
%%DEVEL%%include/mongo/bson/bsonelement.h
18
%%DEVEL%%include/mongo/bson/bsoninlines.h
19
%%DEVEL%%include/mongo/bson/bsonmisc.h
20
%%DEVEL%%include/mongo/bson/bsonobj.h
21
%%DEVEL%%include/mongo/bson/bsonobjbuilder.h
22
%%DEVEL%%include/mongo/bson/bsonobjiterator.h
23
%%DEVEL%%include/mongo/bson/bsontypes.h
24
%%DEVEL%%include/mongo/bson/inline_decls.h
25
%%DEVEL%%include/mongo/bson/oid.h
26
%%DEVEL%%include/mongo/bson/ordering.h
27
%%DEVEL%%include/mongo/bson/stringdata.h
28
%%DEVEL%%include/mongo/bson/util/atomic_int.h
29
%%DEVEL%%include/mongo/bson/util/builder.h
30
%%DEVEL%%include/mongo/bson/util/misc.h
31
%%DEVEL%%include/mongo/client/connpool.h
32
%%DEVEL%%include/mongo/client/constants.h
33
%%DEVEL%%include/mongo/client/dbclient.h
34
%%DEVEL%%include/mongo/client/dbclientcursor.h
35
%%DEVEL%%include/mongo/client/distlock.h
36
%%DEVEL%%include/mongo/client/gridfs.h
37
%%DEVEL%%include/mongo/client/model.h
38
%%DEVEL%%include/mongo/client/parallel.h
39
%%DEVEL%%include/mongo/client/redef_macros.h
40
%%DEVEL%%include/mongo/client/syncclusterconnection.h
41
%%DEVEL%%include/mongo/client/undef_macros.h
42
%%DEVEL%%include/mongo/db/background.h
43
%%DEVEL%%include/mongo/db/btree.h
44
%%DEVEL%%include/mongo/db/client.h
45
%%DEVEL%%include/mongo/db/clientcursor.h
46
%%DEVEL%%include/mongo/db/cmdline.h
47
%%DEVEL%%include/mongo/db/commands.h
48
%%DEVEL%%include/mongo/db/concurrency.h
49
%%DEVEL%%include/mongo/db/curop.h
50
%%DEVEL%%include/mongo/db/cursor.h
51
%%DEVEL%%include/mongo/db/database.h
52
%%DEVEL%%include/mongo/db/db.h
53
%%DEVEL%%include/mongo/db/dbhelpers.h
54
%%DEVEL%%include/mongo/db/dbmessage.h
55
%%DEVEL%%include/mongo/db/dbwebserver.h
56
%%DEVEL%%include/mongo/db/diskloc.h
57
%%DEVEL%%include/mongo/db/extsort.h
58
%%DEVEL%%include/mongo/db/filever.h
59
%%DEVEL%%include/mongo/db/index.h
60
%%DEVEL%%include/mongo/db/indexkey.h
61
%%DEVEL%%include/mongo/db/instance.h
62
%%DEVEL%%include/mongo/db/introspect.h
63
%%DEVEL%%include/mongo/db/jsobj.h
64
%%DEVEL%%include/mongo/db/jsobjmanipulator.h
65
%%DEVEL%%include/mongo/db/json.h
66
%%DEVEL%%include/mongo/db/lasterror.h
67
%%DEVEL%%include/mongo/db/matcher.h
68
%%DEVEL%%include/mongo/db/minilex.h
69
%%DEVEL%%include/mongo/db/module.h
70
%%DEVEL%%include/mongo/db/namespace.h
71
%%DEVEL%%include/mongo/db/nonce.h
72
%%DEVEL%%include/mongo/db/oplog.h
73
%%DEVEL%%include/mongo/db/oplogreader.h
74
%%DEVEL%%include/mongo/db/pdfile.h
75
%%DEVEL%%include/mongo/db/query.h
76
%%DEVEL%%include/mongo/db/queryoptimizer.h
77
%%DEVEL%%include/mongo/db/queryutil.h
78
%%DEVEL%%include/mongo/db/rec.h
79
%%DEVEL%%include/mongo/db/reccache.h
80
%%DEVEL%%include/mongo/db/reci.h
81
%%DEVEL%%include/mongo/db/recstore.h
82
%%DEVEL%%include/mongo/db/repl.h
83
%%DEVEL%%include/mongo/db/repl/connections.h
84
%%DEVEL%%include/mongo/db/repl/health.h
85
%%DEVEL%%include/mongo/db/repl/multicmd.h
86
%%DEVEL%%include/mongo/db/repl/rs.h
87
%%DEVEL%%include/mongo/db/repl/rs_config.h
88
%%DEVEL%%include/mongo/db/repl/rs_exception.h
89
%%DEVEL%%include/mongo/db/repl/rs_member.h
90
%%DEVEL%%include/mongo/db/repl/rs_optime.h
91
%%DEVEL%%include/mongo/db/repl_block.h
92
%%DEVEL%%include/mongo/db/replpair.h
93
%%DEVEL%%include/mongo/db/resource.h
94
%%DEVEL%%include/mongo/db/scanandorder.h
95
%%DEVEL%%include/mongo/db/security.h
96
%%DEVEL%%include/mongo/db/stats/counters.h
97
%%DEVEL%%include/mongo/db/stats/fine_clock.h
98
%%DEVEL%%include/mongo/db/stats/service_stats.h
99
%%DEVEL%%include/mongo/db/stats/snapshots.h
100
%%DEVEL%%include/mongo/db/stats/top.h
101
%%DEVEL%%include/mongo/db/update.h
102
%%DEVEL%%include/mongo/pch.h
103
%%DEVEL%%include/mongo/s/balance.h
104
%%DEVEL%%include/mongo/s/balancer_policy.h
105
%%DEVEL%%include/mongo/s/chunk.h
106
%%DEVEL%%include/mongo/s/config.h
107
%%DEVEL%%include/mongo/s/cursors.h
108
%%DEVEL%%include/mongo/s/d_logic.h
109
%%DEVEL%%include/mongo/s/grid.h
110
%%DEVEL%%include/mongo/s/request.h
111
%%DEVEL%%include/mongo/s/server.h
112
%%DEVEL%%include/mongo/s/shard.h
113
%%DEVEL%%include/mongo/s/shardkey.h
114
%%DEVEL%%include/mongo/s/stats.h
115
%%DEVEL%%include/mongo/s/strategy.h
116
%%DEVEL%%include/mongo/s/util.h
117
%%DEVEL%%include/mongo/scripting/engine.h
118
%%DEVEL%%include/mongo/scripting/engine_java.h
119
%%DEVEL%%include/mongo/scripting/engine_spidermonkey.h
120
%%DEVEL%%include/mongo/scripting/engine_v8.h
121
%%DEVEL%%include/mongo/scripting/v8_db.h
122
%%DEVEL%%include/mongo/scripting/v8_utils.h
123
%%DEVEL%%include/mongo/scripting/v8_wrapper.h
124
%%DEVEL%%include/mongo/targetver.h
125
%%DEVEL%%include/mongo/util/allocator.h
126
%%DEVEL%%include/mongo/util/array.h
127
%%DEVEL%%include/mongo/util/assert_util.h
128
%%DEVEL%%include/mongo/util/background.h
129
%%DEVEL%%include/mongo/util/base64.h
130
%%DEVEL%%include/mongo/util/concurrency/list.h
131
%%DEVEL%%include/mongo/util/concurrency/msg.h
132
%%DEVEL%%include/mongo/util/concurrency/mutex.h
133
%%DEVEL%%include/mongo/util/concurrency/mvar.h
134
%%DEVEL%%include/mongo/util/concurrency/rwlock.h
135
%%DEVEL%%include/mongo/util/concurrency/spin_lock.h
136
%%DEVEL%%include/mongo/util/concurrency/task.h
137
%%DEVEL%%include/mongo/util/concurrency/thread_pool.h
138
%%DEVEL%%include/mongo/util/concurrency/value.h
139
%%DEVEL%%include/mongo/util/debug_util.h
140
%%DEVEL%%include/mongo/util/embedded_builder.h
141
%%DEVEL%%include/mongo/util/file.h
142
%%DEVEL%%include/mongo/util/file_allocator.h
143
%%DEVEL%%include/mongo/util/goodies.h
144
%%DEVEL%%include/mongo/util/hashtab.h
145
%%DEVEL%%include/mongo/util/hex.h
146
%%DEVEL%%include/mongo/util/histogram.h
147
%%DEVEL%%include/mongo/util/hostandport.h
148
%%DEVEL%%include/mongo/util/httpclient.h
149
%%DEVEL%%include/mongo/util/log.h
150
%%DEVEL%%include/mongo/util/lruishmap.h
151
%%DEVEL%%include/mongo/util/md5.h
152
%%DEVEL%%include/mongo/util/md5.hpp
153
%%DEVEL%%include/mongo/util/message.h
154
%%DEVEL%%include/mongo/util/message_server.h
155
%%DEVEL%%include/mongo/util/miniwebserver.h
156
%%DEVEL%%include/mongo/util/mmap.h
157
%%DEVEL%%include/mongo/util/mongoutils/checksum.h
158
%%DEVEL%%include/mongo/util/mongoutils/html.h
159
%%DEVEL%%include/mongo/util/mongoutils/str.h
160
%%DEVEL%%include/mongo/util/ntservice.h
161
%%DEVEL%%include/mongo/util/optime.h
162
%%DEVEL%%include/mongo/util/password.h
163
%%DEVEL%%include/mongo/util/processinfo.h
164
%%DEVEL%%include/mongo/util/queue.h
165
%%DEVEL%%include/mongo/util/ramlog.h
166
%%DEVEL%%include/mongo/util/ramstore.h
167
%%DEVEL%%include/mongo/util/sock.h
168
%%DEVEL%%include/mongo/util/stringutils.h
169
%%DEVEL%%include/mongo/util/text.h
170
%%DEVEL%%include/mongo/util/unittest.h
171
%%DEVEL%%include/mongo/util/version.h
172
%%DEVEL%%include/mongo/util/winutil.h
173
%%DEVEL%%@dirrm include/mongo/bson/util
174
%%DEVEL%%@dirrm include/mongo/bson
175
%%DEVEL%%@dirrm include/mongo/client
176
%%DEVEL%%@dirrm include/mongo/db/repl
177
%%DEVEL%%@dirrm include/mongo/db/stats
178
%%DEVEL%%@dirrm include/mongo/db
179
%%DEVEL%%@dirrm include/mongo/s
180
%%DEVEL%%@dirrm include/mongo/scripting
181
%%DEVEL%%@dirrm include/mongo/util/concurrency
182
%%DEVEL%%@dirrm include/mongo/util/mongoutils
183
%%DEVEL%%@dirrm include/mongo/util
184
%%DEVEL%%@dirrm include/mongo

Return to bug 153525