openbsd-ports/net/ddclient/Makefile
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00

42 lines
1.0 KiB
Makefile

COMMENT= update client for dynamic DNS services
GH_ACCOUNT= ddclient
GH_PROJECT= ddclient
GH_TAGNAME= v3.9.1
REVISION= 0
CATEGORIES= net
HOMEPAGE= https://ddclient.net/
# GPLv2+
PERMIT_PACKAGE= Yes
RUN_DEPENDS= devel/p5-Data-Validate-IP \
net/p5-IO-Socket-INET6 \
security/p5-IO-Socket-SSL
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
SAMPLES= sample-etc_cron.d_ddclient sample-etc_ddclient.conf \
sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \
sample-etc_ppp_ip-up.local sample-ddclient-wrapper.sh
post-extract:
@sed -i -e "s,/var/cache/ddclient/,/var/db/ddclient/,g;" \
-e "s,/etc/ddclient/,${SYSCONFDIR}/ddclient/,g" \
${WRKSRC}/ddclient
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ddclient
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ddclient
.for i in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/ddclient
.endfor
.include <bsd.port.mk>