aboutsummaryrefslogtreecommitdiffstats
path: root/www/netstiff/Makefile
blob: f323236cebd5b3d26c4c1b70a1effdbe54f1b387 (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
33
34
35
36
37
38
# New ports collection makefile for:    netstiff
# Date created:             23 March 2007
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   netstiff
PORTVERSION=    20080331
CATEGORIES= www
MASTER_SITES=   http://pkqs.net/~sbeyer/tools/netstiff/
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    A powerful web page update checker

NO_BUILD=   yes
USE_RUBY=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS=   ChangeLog LICENSE THANKSTO
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
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>