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

(-)mongrel2/Makefile (-13 / +11 lines)
Lines 1-20 Link Here
1
# New ports collection makefile for:	mongrel2
1
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
2
# Date created:		2011-09-28
2
# $FreeBSD$
3
# Whom:			Gvozdikov Veniamin <g.veniamin@googlemail.com>
4
#
5
# $FreeBSD: ports/www/mongrel2/Makefile,v 1.2 2012/11/17 06:02:43 svnexp Exp $
6
#
7
3
8
PORTNAME=	mongrel2
4
PORTNAME=	mongrel2
9
PORTVERSION=	1.7.5
5
PORTVERSION=	1.7.5
6
PORTREVISION=	1
10
CATEGORIES=	www
7
CATEGORIES=	www
11
MASTER_SITES=	http://mongrel2.org/static/downloads/
8
MASTER_SITES=	http://mongrel2.org/static/downloads/
12
9
13
MAINTAINER=	g.veniamin@googlemail.com
10
MAINTAINER=	g.veniamin@googlemail.com
14
COMMENT=	Is an application, language, and network arch
11
COMMENT=	Is an application, language, and network arch
15
12
16
LIB_DEPENDS=	zmq.1:${PORTSDIR}/devel/zmq \
13
LIB_DEPENDS=	zmq:${PORTSDIR}/devel/zmq \
17
		sqlite3.8:${PORTSDIR}/databases/sqlite3
14
		sqlite3:${PORTSDIR}/databases/sqlite3
18
15
19
USE_GMAKE=	yes
16
USE_GMAKE=	yes
20
USE_BZIP2=	yes
17
USE_BZIP2=	yes
Lines 30-40 Link Here
30
		tornado \
27
		tornado \
31
		zcov
28
		zcov
32
29
33
OPTIONS=	EXAMPLES "Install examplse" on
30
OPTIONS_DEFINE=	EXAMPLES
31
EXAMPLES_DESC=	Install examplse
34
32
35
.include <bsd.port.pre.mk>
33
.include <bsd.port.options.mk>
36
34
37
.if defined(WITH_EXAMPLES)
35
.if ${PORT_OPTIONS:MEXAMPLES}
38
PLIST_SUB+=	EXAMPLES=""
36
PLIST_SUB+=	EXAMPLES=""
39
.else
37
.else
40
PLIST_SUB+=	EXAMPLES="@comment "
38
PLIST_SUB+=	EXAMPLES="@comment "
Lines 44-54 Link Here
44
	@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
42
	@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
45
43
46
post-install:
44
post-install:
47
.if defined(WITH_EXAMPLES)
45
.if ${PORT_OPTIONS:MEXAMPLES}
48
	@${MKDIR} ${EXAMPLESDIR}
46
	@${MKDIR} ${EXAMPLESDIR}
49
.for examples in ${EXAMPLES_LIST}
47
.for examples in ${EXAMPLES_LIST}
50
	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${EXAMPLESDIR}
48
	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${EXAMPLESDIR}
51
.endfor
49
.endfor
52
.endif
50
.endif
53
51
54
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>

Return to bug 175839