- Bump PORTREVISION to chase devel/jansson shlib change

- Convert to new LIB_DEPENDS syntax
- Support staging

Approved by:	crees, tabthorpe (mentors, implicit)
This commit is contained in:
Grzegorz Blach 2013-09-26 09:41:21 +00:00
parent 342e8560b9
commit bd08545c34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328346

View file

@ -3,25 +3,25 @@
PORTNAME= fbsdmon
PORTVERSION= 1.00
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt sysutils
MASTER_SITES= LOCAL/gblach/
MAINTAINER= gblach@FreeBSD.org
COMMENT= Submit system and ports statistics to fbsdmon.org
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
jansson:${PORTSDIR}/devel/jansson
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libjansson.so:${PORTSDIR}/devel/jansson
SUB_FILES= 600.fbsdmon pkg-message
USE_RC_SUBR= fbsdmon
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${PREFIX}/sbin
${MKDIR} /var/db/fbsdmon
${MKDIR} ${PREFIX}/etc/periodic/weekly
${INSTALL_SCRIPT} ${WRKDIR}/600.fbsdmon ${PREFIX}/etc/periodic/weekly
${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}/var/db/fbsdmon
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly
${INSTALL_SCRIPT} ${WRKDIR}/600.fbsdmon \
${STAGEDIR}${PREFIX}/etc/periodic/weekly
post-install:
@${CAT} ${PKGMESSAGE}