diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-16 12:55:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-16 12:55:21 +0000 |
commit | 50fc735197fba5bea03a100b3737b9d4f7182e7d (patch) | |
tree | ce49ad44a35d72bae839358d9cfe886a8ff8264f /net | |
parent | a18982b7ed4c4caa68b73f175700f9b3b0cbb2ec (diff) | |
download | pkgsrc-50fc735197fba5bea03a100b3737b9d4f7182e7d.tar.gz |
bl3ify
Diffstat (limited to 'net')
-rw-r--r-- | net/ddclient/Makefile | 11 | ||||
-rw-r--r-- | net/ddclient/files/ddclient.sh | 10 |
2 files changed, 12 insertions, 9 deletions
diff --git a/net/ddclient/Makefile b/net/ddclient/Makefile index a65d2bfc3db..a025dae66fa 100644 --- a/net/ddclient/Makefile +++ b/net/ddclient/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/08/30 22:51:25 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2004/01/16 12:55:21 jlam Exp $ DISTNAME= ddclient-3.6.2 CATEGORIES= net @@ -8,17 +8,22 @@ MAINTAINER= hubertf@NetBSD.org HOMEPAGE= http://burry.ca:4141/ddclient/ COMMENT= Client to update dynamic DNS entries -USE_BUILDLINK2= YES +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= YES USE_PKGINSTALL= YES DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL DOCDIR= ${PREFIX}/share/doc/ddclient EGDIR= ${PREFIX}/share/examples/ddclient RCD_SCRIPTS= ddclient +FILES_SUBST+= PERL5_PATH=${PERL5_PATH} CONF_FILES_PERMS= ${EGDIR}/sample-etc_ddclient.conf \ ${PKG_SYSCONFDIR}/ddclient.conf \ ${ROOT_USER} ${ROOT_GROUP} 0600 +INSTALLATION_DIRS= sbin + do-configure: cd ${WRKSRC}; for file in ddclient; do \ ${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \ @@ -41,5 +46,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README.cisco ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/sample-* ${EGDIR} -.include "../../lang/perl5/buildlink2.mk" +.include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/ddclient/files/ddclient.sh b/net/ddclient/files/ddclient.sh index 26ecc94f0c6..e55f4161498 100644 --- a/net/ddclient/files/ddclient.sh +++ b/net/ddclient/files/ddclient.sh @@ -1,20 +1,19 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: ddclient.sh,v 1.4 2002/09/20 02:01:57 grant Exp $ +# $NetBSD: ddclient.sh,v 1.5 2004/01/16 12:55:21 jlam Exp $ # # Dynamic DNS update client # # PROVIDE: ddclient # REQUIRE: DAEMON -if [ -f /etc/rc.subr ] -then +if [ -f /etc/rc.subr ]; then . /etc/rc.subr fi name="ddclient" rcvar=${name} -command="@PERL5@" +command="@PERL5_PATH@" daemon="@PREFIX@/sbin/${name}" pidfile="/var/run/${name}.pid" required_files="${daemon} @PKG_SYSCONFDIR@/${name}.conf" @@ -27,8 +26,7 @@ ddclient_start() ${daemon} ${ddclient_flags} ${command_args} } -if [ -f /etc/rc.subr ] -then +if [ -f /etc/rc.subr ]; then load_rc_config $name run_rc_command "$1" else |