summaryrefslogtreecommitdiff
path: root/net/dhid/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-07-19 11:38:33 +0000
committerjlam <jlam>1999-07-19 11:38:33 +0000
commitbc614ea902aae206a1e7b0f9f1fdba1333919331 (patch)
tree0fac3d1f7fae16efbe77359b19a0401162a7369f /net/dhid/Makefile
parentbcb1b43c673db6a7da39c1600b65ff5253f82912 (diff)
downloadpkgsrc-bc614ea902aae206a1e7b0f9f1fdba1333919331.tar.gz
dhid-3.0: Dynamic Host Information Service client daemon
Diffstat (limited to 'net/dhid/Makefile')
-rw-r--r--net/dhid/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
new file mode 100644
index 00000000000..bbe605564c1
--- /dev/null
+++ b/net/dhid/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $
+#
+
+DISTNAME= dhid-3.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.dhis.org/sp/
+
+ALL_TARGET= dhid
+
+pre-patch:
+ ${MV} -f ${WRKSRC}/dtool ${WRKSRC}/dtool.in
+
+do-configure:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dtool.in >${WRKSRC}/dtool
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/dhid.sh.sample \
+ >${WRKDIR}/dhid.sh.sample
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/dtool ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/dtool.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/dhid.8 ${PREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${WRKDIR}/dhid.sh.sample ${PREFIX}/etc/rc.d
+ ${INSTALL_DATA} ${WRKSRC}/dhid.conf ${PREFIX}/share/examples
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhid
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/dhid
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dhid
+
+.include "../../mk/bsd.pkg.mk"