# Created by: Ryan Grove # $FreeBSD$ PORTNAME= referrercop PORTVERSION= 1.1.0 CATEGORIES= textproc www ruby MASTER_SITES= http://wonko.com/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Filters referrer spam from Apache logs and AWStats data files DEPRECATED= distfile unfetchable EXPIRATION_DATE=2014-01-01 NO_BUILD= yes USE_RUBY= yes USE_RUBY_FEATURES= fileutils optparse ruby18 NO_STAGE= yes .include do-install: ${INSTALL_SCRIPT} ${WRKSRC}/referrercop ${PREFIX}/bin ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/blacklist.refcop ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/whitelist.refcop.sample ${DATADIR} .if !defined(NOPORTDOCS) PORTDOCS= * .endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/HISTORY ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${MKDIR} ${DOCSDIR}/rdoc cd ${WRKSRC}/doc; ${FIND} . \ | ${CPIO} -pdm -R root:wheel ${DOCSDIR}/rdoc .endif .include