aboutsummaryrefslogtreecommitdiffstats
path: root/net/neubot/Makefile
blob: f11b80adc03d38af9837f6d58da6183613ee68e4 (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
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    neubot
# Date created:     Wed 18 oct 2011
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   neubot
PORTVERSION=    0.4.6
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://releases.neubot.org/_packages/

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Measures neutrality of your network connection in the background

LICENSE=    GPLv3

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3

USE_PYTHON= 2.5-2.9

NO_BUILD=   yes

USERS=      _neubot
GROUPS=     _neubot

USE_RC_SUBR=    neubotd
INSTALLS_ICONS= yes

MAN1=       neubot.1
MANCOMPRESSED=  yes
PORTDOCS=   AUTHORS BUGS ChangeLog PRIVACY README TODO

SUB_FILES=  pkg_message
SUB_LIST+=  PYTHON_CMD=${PYTHON_CMD}
PKGMESSAGE= ${WRKDIR}/pkg_message

pre-configure:
    ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${MAKEFILE}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>