blob: 0af9ef085b9bbcb05cff45d2e8ab38997b62dfdd (
plain)
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
|
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
PORTNAME= istatserver
PORTVERSION= 3.02
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://s3.amazonaws.com/bjango/files/istatserverlinux/
MAINTAINER= farrokhi@FreeBSD.org
COMMENT= Daemon for iStat iPhone application
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libsqlite3.so:databases/sqlite3
USES= ssl
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
USERS= istat
GROUPS= istat
SUB_FILES= pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/istatserver ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/etc/istatserver
${INSTALL_DATA} ${WRKSRC}/resource/istatserver.conf \
${STAGEDIR}${PREFIX}/etc/istatserver/istatserver.conf.sample
${INSTALL_DATA} ${WRKSRC}/resource/istatserver_generated.conf \
${STAGEDIR}${PREFIX}/etc/istatserver/istatserver_generated.conf.sample
${INSTALL_MAN} ${WRKSRC}/resource/istatserver.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/resource/istatserver.conf.5 \
${STAGEDIR}${MANPREFIX}/man/man5
@${ECHO_CMD} '@postexec ${CHOWN} -R ${USERS}:${GROUPS} %D/etc/istatserver' >> ${TMPPLIST}
.include <bsd.port.mk>
|