View | Details | Raw Unified | Return to bug 190561 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +8 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	passenger
4
PORTNAME=	passenger
5
PORTVERSION=	4.0.44
5
PORTVERSION=	4.0.44
6
PORTREVISION=	1
6
CATEGORIES=	www rubygems
7
CATEGORIES=	www rubygems
7
MASTER_SITES=	RG
8
MASTER_SITES=	RG
8
PKGNAMEPREFIX=	rubygem-
9
PKGNAMEPREFIX=	rubygem-
Lines 12-22 Link Here
12
13
13
OPTIONS_DEFINE=	DEBUG SYMLINK
14
OPTIONS_DEFINE=	DEBUG SYMLINK
14
OPTIONS_SINGLE=	SERVER
15
OPTIONS_SINGLE=	SERVER
15
OPTIONS_SINGLE_SERVER=	APACHE22 NGINX
16
OPTIONS_SINGLE_SERVER=	APACHE NGINX
16
APACHE22_DESC=	Build with apache22 support
17
APACHE_DESC=	Build with APACHE support
17
NGINX_DESC=	Build with nginx support
18
NGINX_DESC=	Build with nginx support
18
SYMLINK_DESC=	Create passenger symlink
19
SYMLINK_DESC=	Create passenger symlink
19
OPTIONS_DEFAULT=	APACHE22
20
OPTIONS_DEFAULT=	APACHE
20
21
21
USE_RUBY=	yes
22
USE_RUBY=	yes
22
USE_RAKE=	yes
23
USE_RAKE=	yes
Lines 25-31 Link Here
25
26
26
.include <bsd.port.options.mk>
27
.include <bsd.port.options.mk>
27
28
28
.if ${PORT_OPTIONS:MAPACHE22}
29
.if ${PORT_OPTIONS:MAPACHE}
29
USE_APACHE=	22+
30
USE_APACHE=	22+
30
.endif
31
.endif
31
32
Lines 101-107 Link Here
101
		${WRKSRC}/lib/phusion_passenger/platform_info/cxx_portability.rb
102
		${WRKSRC}/lib/phusion_passenger/platform_info/cxx_portability.rb
102
103
103
post-build:
104
post-build:
104
.if ${PORT_OPTIONS:MAPACHE22}
105
.if ${PORT_OPTIONS:MAPACHE}
105
	(CC=${CC} CXX=${CXX} ${WRKSRC}/bin/passenger-install-apache2-module --auto)
106
	(CC=${CC} CXX=${CXX} ${WRKSRC}/bin/passenger-install-apache2-module --auto)
106
.endif
107
.endif
107
108
Lines 109-115 Link Here
109
	(cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx)
110
	(cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx)
110
.endif
111
.endif
111
.if ${PORT_OPTIONS:MSYMLINK}
112
.if ${PORT_OPTIONS:MSYMLINK}
112
	${LN} -s ${GEM_LIB_DIR} ${STAGE}${PREFIX}/${GEMS_DIR}/${PORTNAME}
113
	[ ! -d "${STAGEDIR}${PREFIX}/${GEMS_DIR}" ] && ${MKDIR} -p ${STAGEDIR}${PREFIX}/${GEMS_DIR}
114
	${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
113
.endif
115
.endif
114
116
115
	${FIND} ${WRKSRC} -name '*.o' -delete
117
	${FIND} ${WRKSRC} -name '*.o' -delete

Return to bug 190561