1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/sysutils/istatserver/Makefile
2021-04-06 16:31:07 +02:00

39 lines
1.1 KiB
Makefile

# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
PORTNAME= istatserver
PORTVERSION= 3.02
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>