1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/spike-proxy/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

38 lines
1002 B
Makefile

# Created by: Yonatan <Yonatan@xpert.com>
# $FreeBSD$
PORTNAME= spike-proxy
PORTVERSION= 1.4.8
CATEGORIES= security
MASTER_SITES= http://www.immunitysec.com/downloads/
DISTNAME= SP${PORTVERSION:tl: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
NO_STAGE= 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>