summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-17 16:21:59 +0000
committerru <ru@FreeBSD.org>2001-12-17 16:21:59 +0000
commit0005151aeb603201fbcb4b7b696d1926f010086e (patch)
tree7d9a8261bed6e09b66c51dbd451d0972e3006303
parentaa219a0e7b7ab2b4277131e05fc7e55142b5ca94 (diff)
downloadFreeBSD-src-0005151aeb603201fbcb4b7b696d1926f010086e.zip
FreeBSD-src-0005151aeb603201fbcb4b7b696d1926f010086e.tar.gz
Install files via FILES.
-rw-r--r--usr.sbin/nslookup/Makefile6
-rw-r--r--usr.sbin/ntp/doc/Makefile11
-rw-r--r--usr.sbin/pcvt/fonts/Makefile13
3 files changed, 9 insertions, 21 deletions
diff --git a/usr.sbin/nslookup/Makefile b/usr.sbin/nslookup/Makefile
index 6a8acaa..0ed4fc2 100644
--- a/usr.sbin/nslookup/Makefile
+++ b/usr.sbin/nslookup/Makefile
@@ -16,9 +16,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/bind/bin/nslookup
LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
-beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${BIND_DIR}/bin/nslookup/nslookup.help \
- ${DESTDIR}${DESTHELP}/nslookup.help
+FILES= nslookup.help
+FILESDIR= ${DESTHELP}
.include <bsd.prog.mk>
diff --git a/usr.sbin/ntp/doc/Makefile b/usr.sbin/ntp/doc/Makefile
index 2b2c47b..8c79e51 100644
--- a/usr.sbin/ntp/doc/Makefile
+++ b/usr.sbin/ntp/doc/Makefile
@@ -2,9 +2,9 @@
MAINTAINER= sheldonh
-DOCSDIR= /usr/share/doc/ntp
+FILESDIR= ${SHAREDIR}/doc/ntp
-HTMLS= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \
+FILES= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \
clockopt.htm \
config.htm confopt.htm copyright.htm debug.htm driver1.htm \
driver10.htm driver11.htm driver12.htm driver16.htm driver18.htm \
@@ -24,11 +24,6 @@ HTMLS= accopt.htm assoc.htm audio.htm authopt.htm biblio.htm build.htm \
MAN= ntp.conf.5 ntp.keys.5
MAN+= ntp-genkeys.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8 ntptrace.8
-beforeinstall:
-.for file in ${HTMLS}
- cd ${.CURDIR}/../../../contrib/ntp/html ; \
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
- ${DESTDIR}${DOCSDIR}
-.endfor
+.PATH: ${.CURDIR}/../../../contrib/ntp/html
.include <bsd.prog.mk>
diff --git a/usr.sbin/pcvt/fonts/Makefile b/usr.sbin/pcvt/fonts/Makefile
index 51c7908..8af01cc 100644
--- a/usr.sbin/pcvt/fonts/Makefile
+++ b/usr.sbin/pcvt/fonts/Makefile
@@ -5,15 +5,10 @@
rm -f ${.TARGET}
uudecode ${.IMPSRC}
-FONTS= vt220h.808 vt220h.810 vt220h.814 vt220h.816 \
+FILES= vt220h.808 vt220h.810 vt220h.814 vt220h.816 \
vt220l.808 vt220l.810 vt220l.814 vt220l.816
-#FONTS+= vt100pc.814 vt100sg.814
-CLEANFILES= ${FONTS}
-
-all: ${FONTS}
-
-beforeinstall:
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- ${FONTS} ${DESTDIR}${FONTDIR}
+#FILES+= vt100pc.814 vt100sg.814
+FILESDIR= ${FONTDIR}
+CLEANFILES= ${FILES}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud