Follow the current trend and 'fake' this.

This commit is contained in:
ho 2000-03-25 10:29:23 +00:00
parent 3def9d7e28
commit 0d2f975d21
3 changed files with 32 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2000/03/24 22:11:50 espie Exp $
# $OpenBSD: Makefile,v 1.15 2000/03/25 10:29:23 ho Exp $
DISTNAME= bind-openbsd-8.2.2-P6-19991217
PKGNAME= bind-8.2.2-P6
@ -11,6 +11,7 @@ MAINTAINER= ho@openbsd.org,jakob@openbsd.org
WRKDIST= ${WRKDIR}/named
PREFIX= /
FAKE= yes
NO_MTREE= yes
NO_CONFIGURE= yes
SAMPLEDIR= ${DESTDIR}/usr/local/share/examples/bind8
@ -28,7 +29,10 @@ pre-install pre-package:
post-install:
mkdir -p ${SAMPLEDIR}
cp ${WRKSRC}/etc/namedb/named.* ${SAMPLEDIR}
@${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL ${SAMPLEDIR}
pre-fake:
@mkdir -p ${WRKINST}/usr/share/man/cat{1,5,8} ${WRKINST}/usr/share/misc
@mkdir -p ${WRKINST}/usr/sbin ${WRKINST}/usr/libexec
.include <bsd.port.mk>

View File

@ -0,0 +1,24 @@
--- ndc/Makefile.orig Sat Mar 25 10:48:11 2000
+++ ndc/Makefile Sat Mar 25 10:48:40 2000
@@ -3,7 +3,7 @@
TOP= ${.CURDIR}/..
PROG= ndc
-BINDIR= ${DESTDIR}/usr/libexec/named
+BINDIR= /usr/libexec/named
MAN= ndc.8
@@ -16,12 +16,6 @@
CLEANFILES+= pathnames.h
beforedepend: pathnames.h
-
-beforeinstall:
- if [ -f ${BINDIR} ]; then \
- rm -f ${BINDIR}; \
- fi
- mkdir -p -m 755 ${BINDIR}
ndc.o: pathnames.h

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.3 1999/12/17 17:56:30 ho Exp $
# $OpenBSD: INSTALL,v 1.4 2000/03/25 10:29:23 ho Exp $
#
# Pre/post-installation setup of named
@ -9,7 +9,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/}
NROOT=${DESTDIR}/var/named
SAMPLEDIR=${3:-/usr/local/share/examples/bind8}
SAMPLEDIR=${3:-${DESTDIR}/usr/local/share/examples/bind8}
print_usage()
{