freebsd-ports/sysutils/ck4up/Makefile
Martin Wilke bf7a3f4e5e ck4up is a small command-line utility, written in ruby. ck4up scans through a
configuration file, fetches the listed URLs from the web, computes the md5sum
of the page, and compares the value with the ones stored in a gdbm database.
If both differ, a message will be written to the standard output.

WWW: http://jue.li/crux/ck4up/

Sponsord by: My 1000er! *g
2006-11-20 19:05:47 +00:00

35 lines
772 B
Makefile

# Ports collection makefile for: ck4up
# Date created: November 19, 2006
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ck4up
PORTVERSION= 0.2.3
CATEGORIES= sysutils
MASTER_SITES= http://jue.li/crux/ck4up/
MAINTAINER= miwi@FreeBSD.org
COMMENT= Checks http and ftp sites for updates
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm
NO_BUILD= yes
USE_RUBY= yes
MAN1= ck4up.1
PLIST_DIRS= %%EXAMPLESDIR%%
PLIST_FILES= bin/ck4up %%EXAMPLESDIR%%/ck4up.conf
post-patch:
${RUBY} -i -pe 'gsub /%%PREFIX%%/, "${PREFIX}"' ${WRKSRC}/*
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/ck4up.conf ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>