diff options
Diffstat (limited to 'usr.sbin/pkg_manage/Makefile')
| -rw-r--r-- | usr.sbin/pkg_manage/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/pkg_manage/Makefile b/usr.sbin/pkg_manage/Makefile new file mode 100644 index 000000000000..49691bf6203a --- /dev/null +++ b/usr.sbin/pkg_manage/Makefile @@ -0,0 +1,22 @@ +# $Id$ + +PROG= pkg_manage +LDADD+= -ldialog -lncurses -lmytinfo +DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} +CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\" + +HELPDIR = /usr/share/misc/pkg_manage + +HELPS= pkg_view-inst.hlp pkg_del-inst.hlp pkg_preview.hlp \ + pkg_install.hlp pkg_main.hlp + +afterinstall: + cd ${.CURDIR}; \ + for m in ${HELPS} ; do \ + cmp -s $$m ${DESTDIR}${HELPDIR}/$$m || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ + $$m ${DESTDIR}${HELPDIR} ; \ + done + +.include <bsd.prog.mk> + |
