openbsd-ports/www/ratproxy/Makefile
2013-08-07 21:31:12 +00:00

40 lines
964 B
Makefile

# $OpenBSD: Makefile,v 1.7 2013/08/07 21:32:55 naddy Exp $
COMMENT= passive web application security assessment tool
DISTNAME= ratproxy-1.58
REVISION= 1
CATEGORIES= www security
HOMEPAGE= https://ratproxy.googlecode.com/
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
# Apache License 2.0
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto ssl
MASTER_SITES= ${HOMEPAGE}/files/
RUN_DEPENDS= shells/bash
WRKDIST= ${WRKDIR}/ratproxy/
NO_TEST= Yes
do-configure:
${SUBST_CMD} ${WRKSRC}/ratproxy-report.sh ${WRKSRC}/ssl.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ratproxy ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ratproxy-report.sh ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ratproxy/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ratproxy/
${INSTALL_DATA_DIR} ${PREFIX}/share/ratproxy/
.for d in keyfile.pem messages.list ratproxy-back.png
${INSTALL_DATA} ${WRKSRC}/$d ${PREFIX}/share/ratproxy/
.endfor
.include <bsd.port.mk>