summaryrefslogtreecommitdiffstats
path: root/share/termcap/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-17 13:59:35 +0000
committerru <ru@FreeBSD.org>2001-12-17 13:59:35 +0000
commitbbef88e1a5535074053d60fa0fa2b5832f7de5ea (patch)
tree7fd7e5683e347709f8bd623688bd94074689c72a /share/termcap/Makefile
parent650091c3142d295b29e3809e946f4d064cc805a4 (diff)
downloadFreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.zip
FreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.tar.gz
FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from: NetBSD
Diffstat (limited to 'share/termcap/Makefile')
-rw-r--r--share/termcap/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/share/termcap/Makefile b/share/termcap/Makefile
index 07733ea..8dfff0e 100644
--- a/share/termcap/Makefile
+++ b/share/termcap/Makefile
@@ -7,10 +7,9 @@
#
MAN= termcap.5
+FILES= map3270 termcap termcap.db
+FILESDIR= ${BINDIR}/misc
CLEANFILES+= termcap termcap.db
-FILES= termcap termcap.db
-
-all: termcap termcap.db
termcap: reorder termcap.src
TERM=dumb ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder
@@ -18,14 +17,7 @@ termcap: reorder termcap.src
termcap.db: termcap
cap_mkdb termcap
-beforeinstall:
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
- ${FILES} ${DESTDIR}${BINDIR}/misc
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
- ${.CURDIR}/map3270 ${DESTDIR}${BINDIR}/misc
-
etc-termcap:
- rm -f ${DESTDIR}/etc/termcap
- ln -s ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
+ ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud