# $NetBSD: Makefile,v 1.22 2005/08/02 09:55:37 wiz Exp $ DISTNAME= ddclient-3.6.6 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ddclient/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://ddclient.sourceforge.net/ COMMENT= Client to update dynamic DNS entries PKG_INSTALLATION_TYPES= overwrite pkgviews USE_TOOLS+= perl:run USE_LANGUAGES= # empty USE_PKGINSTALL= yes DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL DOCDIR= ${PREFIX}/share/doc/ddclient EGDIR= ${PREFIX}/share/examples/ddclient RCD_SCRIPTS= ddclient 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 f in ddclient; do \ ${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \ -e "s|@PERL5@|${PERL5}|g" \ $${f} > $${f}.fixed; \ if [ -x $${f} ]; then \ ${CHMOD} +x $${f}.fixed; \ fi; \ ${MV} -f $${f}.fixed $${f}; \ done do-build: # empty do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/README.cisco ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/sample-* ${EGDIR} .include "../../mk/bsd.pkg.mk"