summaryrefslogtreecommitdiff
path: root/www/netstiff/Makefile
blob: df1726f7001b6c2afc7e0456d7bf0b1974a195e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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>