blob: 49691bf6203acda0885ce46f76f74ff156024711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>
|