freebsd-ports/security/skipfish/Makefile
Wesley Shields 094aa6f754 Update to 1.81b.
Whitespace fix.
Respect PREFIX != LOCALBASE.

PR:		ports/152763
Submitted by:	Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
2010-12-13 00:37:58 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: skipfish
# Date created: 2010-03-25
# Whom: rpsfa@rit.edu
#
# $FreeBSD$
PORTNAME= skipfish
PORTVERSION= 1.81b
CATEGORIES= security www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
MAINTAINER= rpsfa@rit.edu
COMMENT= A fully automated, active web application security reconnaissance tool
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn
LICENSE= ASL
LICENSE_FILE= ${WRKSRC}/COPYING
SUB_FILES= pkg-message
.if !defined(NOPORTDOCS)
PORTDOCS= README COPYING ChangeLog
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BROKEN= does not build on 6.x yet
.endif
post-patch:
@${REINPLACE_CMD} -e 's:"skipfish.wl":"${DATADIR}/dictionaries/complete.wl":' \
-e 's:"assets":"${DATADIR}/assets":' ${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/skipfish ${PREFIX}/bin/skipfish
(cd ${WRKSRC}/assets/ && ${COPYTREE_SHARE} . ${DATADIR}/assets/)
(cd ${WRKSRC}/dictionaries/ && ${COPYTREE_SHARE} . ${DATADIR}/dictionaries/)
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>