summaryrefslogtreecommitdiff
path: root/dns/dnrd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnrd/Makefile')
-rw-r--r--dns/dnrd/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
new file mode 100644
index 000000000000..3938364c8d36
--- /dev/null
+++ b/dns/dnrd/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: dnrd
+# Date created: 06 January 2001
+# Whom: George Reid <greid@ukug.uk.freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dnrd
+PORTVERSION= 2.9
+CATEGORIES= net
+MASTER_SITES= http://members.home.com/garsh/dnrd/archive/
+
+MAINTAINER= greid@ukug.uk.freebsd.org
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+USE_GMAKE= yes
+
+MAN8= dnrd.8
+
+post-patch:
+.for F in main.c master.c
+ @(cd ${WRKSRC} && ${SED} -e 's,%%PREFIX%%,${PREFIX},g' $F > foo && \
+ ${MV} foo $F)
+.endfor
+ ${PERL} -pi -e "s@cc@${CC}@g; s@-lc_r@-pthread@g" ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>