summaryrefslogtreecommitdiff
path: root/sysutils/istatd/Makefile
blob: d657992cf8db089bcccd9d10a1f2e8b884c0b0cd (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
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$

PORTNAME=	istatd
PORTVERSION=	0.5.7
CATEGORIES=	sysutils
MASTER_SITES=	http://cloud.github.com/downloads/tiwilliam/${PORTNAME}/

MAINTAINER=	farrokhi@FreeBSD.org
COMMENT=	Daemon for iStat iPhone application

LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2

GNU_CONFIGURE=	yes
USE_RC_SUBR=	${PORTNAME}

MAN1=		istatd.1
MAN5=		istat.conf.5

PLIST_FILES=	bin/istatd etc/istat.conf-dist
SUB_FILES+=	pkg-message

NO_STAGE=	yes
do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/istatd ${PREFIX}/bin
		${INSTALL_SCRIPT} ${WRKDIR}/istatd ${PREFIX}/etc/rc.d
		${INSTALL_DATA} ${WRKSRC}/resource/istat.conf ${PREFIX}/etc/istat.conf-dist
		${INSTALL_MAN} ${WRKSRC}/resource/istatd.1 ${MAN1PREFIX}/man/man1
		${INSTALL_MAN} ${WRKSRC}/resource/istat.conf.5 ${MAN5PREFIX}/man/man5

post-install:
		@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>