diff options
Diffstat (limited to 'net/dynipclient/Makefile')
-rw-r--r-- | net/dynipclient/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/net/dynipclient/Makefile b/net/dynipclient/Makefile index 6eac7cd0dfc..b58b1800acc 100644 --- a/net/dynipclient/Makefile +++ b/net/dynipclient/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2003/07/17 22:51:08 grant Exp $ +# $NetBSD: Makefile,v 1.7 2003/07/30 12:01:26 jmmv Exp $ # DISTNAME= dynip_3.00 PKGNAME= dynipclient-3.00 -WRKSRC= ${WRKDIR} +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.dynip.com/software/unix/ @@ -11,13 +11,23 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.dynip.com/ COMMENT= Client for the dynip.com dynamic DNS service +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES + +RCD_SCRIPTS= dynipclient + +EGDIR= ${PREFIX}/share/examples/dynipclient +CONF_FILES= ${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg + do-build: - cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin /etc ${PREFIX}/man + cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \ + ${PREFIX}/man do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/man/man1/ - ${INSTALL_SCRIPT} ${FILESDIR}/dynipclient.sh ${PREFIX}/etc/rc.d/dynipclient + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR} .include "../../mk/bsd.pkg.mk" |