571042ffb0
It supports a variety of different methods (diff, html, size, date, MD5 sum, regexp) and only prints the URIs of the Web pages that changed so that its output can easily be used by other scripts (such as wget or mail). WWW: http://pkqs.net/~sbeyer/#netstiff PR: ports/110686 Submitted by: Alexander Logvinov <ports at logvinov.com>
32 lines
762 B
Makefile
32 lines
762 B
Makefile
# New ports collection makefile for: netstiff
|
|
# Date created: 23 March 2007
|
|
# Whom: Alexander Logvinov <ports@logvinov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netstiff
|
|
PORTVERSION= 20070322
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pkqs.net/~sbeyer/tools/netstiff/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= ports@logvinov.com
|
|
COMMENT= A powerful web page update checker
|
|
|
|
NO_BUILD= yes
|
|
USE_RUBY= yes
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|