1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net/httpry/Makefile

40 lines
1.0 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= httpry
2012-08-07 18:37:01 +00:00
PORTVERSION= 0.1.7
CATEGORIES= net
MASTER_SITES= http://dumpsterventures.com/jason/httpry/
MAINTAINER= wxs@FreeBSD.org
COMMENT= Packet sniffer designed for displaying and logging HTTP traffic
USE_RC_SUBR= httpry
2014-04-08 07:15:52 +00:00
OPTIONS_DEFINE= EXTRASCRIPTS DOCS
2012-08-07 18:37:01 +00:00
EXTRASCRIPTS_DESC= Install additional scripts
2014-04-08 07:15:52 +00:00
.include <bsd.port.options.mk>
2012-08-07 18:37:01 +00:00
.if ${PORT_OPTIONS:MEXTRASCRIPTS}
PLIST_SUB= EXTRASCRIPTS=""
USES+= perl5
USE_PERL5= run
RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI
.else
PLIST_SUB= EXTRASCRIPTS="@comment "
.endif
do-install:
2014-04-08 07:15:52 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
2012-08-07 18:37:01 +00:00
.if ${PORT_OPTIONS:MEXTRASCRIPTS}
2014-04-08 07:15:52 +00:00
@${MKDIR} ${STAGEDIR}${PREFIX}/bin/httpry-scripts
(cd ${WRKSRC}/scripts/ && \
2014-04-08 07:15:52 +00:00
${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/bin/httpry-scripts "! -name *.bak")
.endif
2014-04-08 07:15:52 +00:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/perl-tools ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/format-string ${STAGEDIR}${DOCSDIR}
2014-04-08 07:15:52 +00:00
.include <bsd.port.mk>