aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-12-20 06:45:34 +0800
committerpawel <pawel@FreeBSD.org>2013-12-20 06:45:34 +0800
commitdb40deab90d5b49178b34770f73793a14cb605ea (patch)
treef9919bca08f8b3b7e98fd931df0b68c30a4fc6be /www
parentea8360223cc27923493bdb58aee4baf93c55d3be (diff)
downloadfreebsd-ports-gnome-db40deab90d5b49178b34770f73793a14cb605ea.tar.gz
freebsd-ports-gnome-db40deab90d5b49178b34770f73793a14cb605ea.tar.zst
freebsd-ports-gnome-db40deab90d5b49178b34770f73793a14cb605ea.zip
- Fix build with clang
- Support staging PR: ports/184850 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'www')
-rw-r--r--www/webstone-ssl/Makefile38
1 files changed, 18 insertions, 20 deletions
diff --git a/www/webstone-ssl/Makefile b/www/webstone-ssl/Makefile
index 7bc131c4d7f6..d5a7ad7e1cb4 100644
--- a/www/webstone-ssl/Makefile
+++ b/www/webstone-ssl/Makefile
@@ -12,36 +12,34 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= World wide web server benchmarking with SSL support
+WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
+
USE_OPENSSL= yes
USE_AUTOTOOLS= autoconf213
-GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
ALL_TARGET= install
-NO_INSTALL_MANPAGES= yes
MAKE_JOBS_UNSAFE= yes
-CONFIGURE_ENV= LIBS=-L${OPENSSLLIB}
-CFLAGS+= -I${OPENSSLINC}
+CPPFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
+
+pre-configure:
+ @${RM} -f ${WRKSRC}/config.cache
-NO_STAGE= yes
do-install:
@${RMDIR} ${WRKSRC}/../bin/runs
- @${MKDIR} ${PREFIX}/webstone-ssl/bin
- @${MKDIR} ${PREFIX}/webstone-ssl/conf
- @${MKDIR} ${PREFIX}/webstone-ssl/lgm
- ${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${PREFIX}/webstone-ssl/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${PREFIX}/webstone-ssl/lgm
- ${INSTALL_DATA} ${WRKSRC}/../conf/* ${PREFIX}/webstone-ssl/conf
- ${INSTALL_SCRIPT} ${WRKSRC}/../webstone ${PREFIX}/webstone-ssl
+ @${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/conf
+ @${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
+ ${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${STAGEDIR}${PREFIX}/webstone-ssl/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
+ ${INSTALL_DATA} ${WRKSRC}/../conf/* ${STAGEDIR}${PREFIX}/webstone-ssl/conf
+ ${INSTALL_SCRIPT} ${WRKSRC}/../webstone ${STAGEDIR}${PREFIX}/webstone-ssl
@${MKDIR} ${WRKSRC}/../bin/runs
-.for file in webclient webmaster genrand
- ${STRIP_CMD} ${PREFIX}/webstone-ssl/bin/${file}
+.for i in webclient webmaster genrand
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
.endfor
-.for file in ws20_cgi ws25_cgi
- ${STRIP_CMD} ${PREFIX}/webstone-ssl/lgm/${file}
+.for i in ws20_cgi ws25_cgi
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
.endfor
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>