mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: Andrew Marks <andrew@amrx.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aimsniff
|
|
PORTVERSION= 0.9d
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/${PORTNAME}/AIM%20Sniff/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= AOL Instant Messenger Sniffing and Reading Tool
|
|
|
|
RUN_DEPENDS= p5-Net-Pcap>=0:net/p5-Net-Pcap\
|
|
p5-NetPacket>=0:net/p5-NetPacket\
|
|
p5-DBI>=0:databases/p5-DBI\
|
|
p5-Unicode-String>=0:converters/p5-Unicode-String\
|
|
p5-Proc-Daemon>=0:devel/p5-Proc-Daemon\
|
|
p5-Proc-Simple>=0:devel/p5-Proc-Simple\
|
|
p5-Unix-Syslog>=0:sysutils/p5-Unix-Syslog
|
|
|
|
OPTIONS_DEFINE= SUID_ROOT DOCS
|
|
SUID_ROOT_DESC= Install aimsniff with set-uid bit
|
|
|
|
PORTDOCS= README table.struct rc.aimsniff
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= aimSniff.pl
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/aimsniff
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/aimSniff.pl ${STAGEDIR}${PREFIX}/bin/aimsniff
|
|
.if ${PORT_OPTIONS:MSUID_ROOT}
|
|
${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/aimsniff
|
|
.endif
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|