diff --git a/net-mgmt/py-pdagent/Makefile b/net-mgmt/py-pdagent/Makefile index dda8f73aa104..f27cb332630d 100644 --- a/net-mgmt/py-pdagent/Makefile +++ b/net-mgmt/py-pdagent/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= pdagent -PORTVERSION= 1.4 +PORTVERSION= 1.5 DISTVERSIONPREFIX=v -PORTREVISION= 2 CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,34 +11,32 @@ MAINTAINER= ports@FreeBSD.org COMMENT= PagerDuty Agent software LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT USES= python:2.7 shebangfix USE_PYTHON= flavors +USE_RC_SUBR= pdagentd +USE_GITHUB= YES + +GH_ACCOUNT= PagerDuty SHEBANG_FILES= bin/* NO_ARCH= yes NO_BUILD= yes -USE_RC_SUBR= pdagentd - -USE_GITHUB= YES -GH_ACCOUNT= PagerDuty - SUB_LIST+= PYTHON_CMD="${PYTHON_CMD}" - BINFILES= pd-queue pd-send pdagentd.py USERS= pdagent GROUPS= pdagent do-patch: - ${REINPLACE_CMD} -e 's|/var/lib/pdagent|/var/db/pdagent|' -e 's|/etc|${ETCDIR}|' ${WRKSRC}/pdagent/confdirs.py + ${REINPLACE_CMD} -e 's|/var/lib/pdagent|/var/db/pdagent| ; s|/etc|${ETCDIR}|' \ + ${WRKSRC}/pdagent/confdirs.py do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${STAGEDIR}/${ETCDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} pdagent ${STAGEDIR}${PYTHON_SITELIBDIR}) -.for i in ${BINFILES} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${STAGEDIR}/${PREFIX}/bin/${i} -.endfor + (cd ${WRKSRC}/bin ; ${INSTALL_SCRIPT} ${BINFILES} ${STAGEDIR}/${PREFIX}/bin) ${INSTALL_DATA} ${WRKSRC}/conf/pdagent.conf ${STAGEDIR}/${ETCDIR}/pdagent.conf.sample .include diff --git a/net-mgmt/py-pdagent/distinfo b/net-mgmt/py-pdagent/distinfo index 10e10fd825ef..bde9229cd9f1 100644 --- a/net-mgmt/py-pdagent/distinfo +++ b/net-mgmt/py-pdagent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1505398696 -SHA256 (PagerDuty-pdagent-v1.4_GH0.tar.gz) = 69f79d9c912db8e2fa9fed7c0f5f0113968739df316b6a79eec9ac94c368046f -SIZE (PagerDuty-pdagent-v1.4_GH0.tar.gz) = 248170 +TIMESTAMP = 1539915284 +SHA256 (PagerDuty-pdagent-v1.5_GH0.tar.gz) = d1337478b6d02f2e5c596f092ed8e52fd2e60ee0422cd2c72a9c8920e9e38f92 +SIZE (PagerDuty-pdagent-v1.5_GH0.tar.gz) = 250902