svn commit: r339326 - head/www/httest

Baptiste Daroussin bapt at FreeBSD.org
Fri Jan 10 08:33:28 UTC 2014


Author: bapt
Date: Fri Jan 10 08:33:27 2014
New Revision: 339326
URL: http://svnweb.freebsd.org/changeset/ports/339326

Log:
  Port to lua 5.2 + cosmetic changes

Modified:
  head/www/httest/Makefile

Modified: head/www/httest/Makefile
==============================================================================
--- head/www/httest/Makefile	Fri Jan 10 08:32:19 2014	(r339325)
+++ head/www/httest/Makefile	Fri Jan 10 08:33:27 2014	(r339326)
@@ -24,24 +24,18 @@ CONFIGURE_ARGS=	--enable-lua-module \
 		--with-ssl="${OPENSSLLIB}"
 CPPFLAGS+=	-I${LUA_INCDIR}
 GNU_CONFIGURE=	yes
-USES=		iconv
-USE_LUA=	yes
+USES=		iconv lua
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
-MAN1=		htntlm.1 htproxy.1 htremote.1 httest.1
 PORTEXAMPLES=	*
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list