pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ddclient bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57f00ad92aba
branches:  trunk
changeset: 466363:57f00ad92aba
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jan 16 12:55:21 2004 +0000

description:
bl3ify

diffstat:

 net/ddclient/Makefile          |  11 ++++++++---
 net/ddclient/files/ddclient.sh |  10 ++++------
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (77 lines):

diff -r b23bca53cca4 -r 57f00ad92aba net/ddclient/Makefile
--- a/net/ddclient/Makefile     Fri Jan 16 12:46:51 2004 +0000
+++ b/net/ddclient/Makefile     Fri Jan 16 12:55:21 2004 +0000
@@ -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 @@
 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 @@
        ${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 -r b23bca53cca4 -r 57f00ad92aba net/ddclient/files/ddclient.sh
--- a/net/ddclient/files/ddclient.sh    Fri Jan 16 12:46:51 2004 +0000
+++ b/net/ddclient/files/ddclient.sh    Fri Jan 16 12:55:21 2004 +0000
@@ -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 @@
        ${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



Home | Main Index | Thread Index | Old Index