# New ports collection makefile for: snoopy # Date created: 3 February 2007 # Whom: Philippe Audeoud # $FreeBSD$ PORTNAME= snoopy PORTVERSION= 1.3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= snoopylogger MAINTAINER= jadawin@tuxaco.net COMMENT= An execve() wrapper and logger PLIST_FILES= lib/snoopy.so bin/detect PORTDOCS= README .include .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/README do-install: ${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/detect ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include