diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-01 03:55:21 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-01 03:55:21 +0000 |
commit | 8f5bd3085f3b7b8f27b68d99efdca902989603da (patch) | |
tree | b5f0497c8f73642f51d758f996ca3ad03c71b860 /net/dhid/Makefile | |
parent | Initial import of priss version 1.0. (diff) |
Inital import of dhid version 3.0.
A dhis client for updating dynamic DNS entries in dhisd DNS tables.
PR: 13312
Submitted by: Oryx Gazella <oryx@ungulate.net>
Notes
Notes:
svn path=/head/; revision=22819
Diffstat (limited to 'net/dhid/Makefile')
-rw-r--r-- | net/dhid/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile new file mode 100644 index 000000000000..18f9e6700b39 --- /dev/null +++ b/net/dhid/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: dhid +# Version required: 3.0 +# Date created: Sat Aug 21 06:13:59 EDT 1999 +# Whom: Oryx Gazella <oryx@ungulate.net> +# +# $Id$ +# + +DISTNAME= dhid-3.0 +CATEGORIES= net +MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/ + +MAINTAINER= oryx@ungulate.net + +MAN1= dtool.1 +MAN8= dhid.8 + +post-patch: + @${ECHO} "===> Patching dtool script and dhid.h" + ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dtool + ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin + ${INSTALL_SCRIPT} ${WRKSRC}/dtool ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dhid.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/dtool.1 ${PREFIX}/man/man1 + ${INSTALL} ${COPY} -o root -g wheel -m 600 ${WRKSRC}/dhid.conf ${PREFIX}/etc + +post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \ + ${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/dhid.sh; \ + ${ECHO} "[ -x ${PREFIX}/bin/dtool ] && ${PREFIX}/bin/dtool -s > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/dhid.sh; \ + fi + +.include <bsd.port.mk> |