1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/snoopy/Makefile
Sunpoet Po-Chuan Hsieh c20f9ec489 - Update to 1.9.0
- Fix file permission: use INSTALL_LIB for shared library
- Add more PORTDOCS
- Update WWW
- Reformat pkg-descr

Changes:	https://github.com/a2o/snoopy/blob/master/ChangeLog
2013-10-13 12:59:00 +00:00

44 lines
938 B
Makefile

# Created by: Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$
PORTNAME= snoopy
PORTVERSION= 1.9.0
CATEGORIES= security
MASTER_SITES= GH \
GHC
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= execve() wrapper and logger
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/detect lib/snoopy.so
PORTDOCS= ChangeLog README.md TODO
GNU_CONFIGURE= yes
USES= gmake
GH_ACCOUNT= a2o
GH_COMMIT= 34306f7
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
USE_GITHUB= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} '/^LIBS=/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README.md
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/detect ${STAGEDIR}${PREFIX}/bin/
${INSTALL_LIB} ${WRKSRC}/snoopy.so ${STAGEDIR}${PREFIX}/lib/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>