aboutsummaryrefslogtreecommitdiffstats
path: root/www/netstiff/Makefile
blob: 3dbb460296b57abb8d710382c5853cd1aa239572 (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
# Created by: 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=    Powerful web page update checker

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       shebangfix
SHEBANG_FILES=  ${WRKSRC}/${PORTNAME}
USE_RUBY=   yes
NO_BUILD=   yes
NO_ARCH=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME}_${PORTVERSION}

PORTDOCS=   ChangeLog THANKSTO
PLIST_FILES=    bin/${PORTNAME} \
        man/man1/${PORTNAME}.1.gz

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>