mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
678e637229
- Dump on USE_REINPLACE - Set new maintainer [1] Submitted by: Jonatan B <onatan(at)gmail.com> [1]
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Ports collection makefile for: spike-proxy
|
|
# Date created: 2 Aug 2004
|
|
# Whom: Yonatan <Yonatan@xpert.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spike-proxy
|
|
PORTVERSION= 1.4.8
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.immunitysec.com/downloads/
|
|
DISTNAME= SP${PORTVERSION:L:C/\.//g}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= Tool for looking for vulnerabilities in web applications
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl
|
|
|
|
WRKSRC= ${WRKDIR}/spkproxy
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|\#\!/usr/bin/python|\#\!${LOCALBASE}/bin/python|" ${WRKSRC}/*.py
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
@${RM} -rf ${WRKSRC}/*.bak
|
|
${CP} -Rp ${WRKSRC}/* ${DATADIR}/
|
|
${SED} "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/spkproxy.sh > ${PREFIX}/bin/spkproxy.sh
|
|
@${CHMOD} 755 ${PREFIX}/bin/spkproxy.sh
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in WHYGPL.txt TODO.txt SpikeUsage.txt README.txt CHANGELOG.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|