Projet

Général

Profil

« Précédent | Suivant » 

Révision 945256f1

Ajouté par Renato Botelho il y a presque 10 ans

update lighttpd to 1.4.35_2

Voir les différences:

pfPorts/lighttpd/Makefile
1 1
# Created by: k@123.org
2
# $FreeBSD: head/www/lighttpd/Makefile 348146 2014-03-14 01:35:13Z mm $
2
# $FreeBSD: head/www/lighttpd/Makefile 355536 2014-05-27 15:59:11Z olgeni $
3 3

  
4 4
PORTNAME?=	lighttpd
5 5
PORTVERSION=	1.4.35
6
PORTREVISION=	2
6 7
CATEGORIES?=	www
7 8
MASTER_SITES?=	http://download.lighttpd.net/lighttpd/releases-1.4.x/
8 9

  
......
16 17

  
17 18
LIB_DEPENDS+=	libpcre.so:${PORTSDIR}/devel/pcre
18 19

  
19
USE_BZIP2=	yes
20 20
GNU_CONFIGURE=	yes
21
USE_GNOME=	lthack
22
USES=		gmake pkgconfig
23

  
24
#.if !defined(_BUILDING_LIGHTTPD_MODULE)
25
#USE_AUTOTOOLS=	libtool
26
#.else
27
USE_AUTOTOOLS=	autoconf autoheader aclocal automake libtool
28
ACLOCAL_ARGS=	-I m4
29
AUTOMAKE_ARGS=	--add-missing
30
#.endif
31
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd --enable-static
32

  
33
CFLAGS+=	-I${LOCALBASE}/include
21
USES=		gmake libtool pkgconfig tar:bzip2
22

  
23
USE_AUTOTOOLS=	autoconf autoheader aclocal automake
24
AUTOMAKE_ARGS=	-a -c -f
25
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd
26
INSTALL_TARGET=	install-strip
27

  
28
CPPFLAGS+=	-I${LOCALBASE}/include
34 29
LDFLAGS+=	-L${LOCALBASE}/lib
35 30

  
36 31
.if !defined(_BUILDING_LIGHTTPD_MODULE)
......
81 76

  
82 77
.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
83 78

  
84
.include <bsd.port.pre.mk>
79
.include <bsd.port.options.mk>
85 80

  
86 81
.if !defined(_BUILDING_LIGHTTPD_MODULE)
87 82
# Default REQUIRE to rc.d script
......
93 88
.endif
94 89

  
95 90
.if ${PORT_OPTIONS:MOPENSSL}
96
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
91
USE_OPENSSL=		yes
97 92
CONFIGURE_ARGS+=	--with-openssl \
98 93
			--with-openssl-includes=${OPENSSLINC} \
99 94
			--with-openssl-libs=${OPENSSLLIB}
......
118 113
.endif
119 114

  
120 115
.if ${PORT_OPTIONS:MLUA}
121
USE_LUA=		5.1
116
USES+=			lua:51
122 117
CONFIGURE_ARGS+=	--with-lua
123
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
118
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
124 119
.endif
125 120

  
126 121
.if ${PORT_OPTIONS:MMEMCACHE}
......
202 197
.for FILE in ${LIGHTTPD_CONF_FILES}
203 198
	@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
204 199
		${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE}.sample
205
.if !exists(${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE})
206
	@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
207
		${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE}
208
.endif
209 200
.endfor
210 201
.for FILE in ${LIGHTTPD_CONF_D_FILES}
211 202
	@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
212 203
		${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE}.sample
213
.if !exists(${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE})
214
	@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
215
		${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE}
216
.endif
217 204
.endfor
218 205
	@${INSTALL_DATA} ${WRKSRC}/doc/config/vhosts.d/vhosts.template \
219 206
		${STAGEDIR}${PREFIX}/etc/lighttpd/vhosts.d/vhosts.template
......
240 227

  
241 228
.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
242 229

  
243
.include <bsd.port.post.mk>
230
.include <bsd.port.mk>

Formats disponibles : Unified diff