Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (48 sloc) 1.768 kb
.include <bsd.own.mk> # for configuration variables.
#SUBDIR= lib include
SUBDIR= usr.sbin
#build:
# $(MAKE) includes
# $(MAKE)
# $(MAKE) install
PREFIX= /usr/local/v6
DIRS= ${PREFIX} ${PREFIX}/bin ${PREFIX}/sbin ${PREFIX}/lib ${PREFIX}/etc \
${PREFIX}/libexec ${PREFIX}/man ${PREFIX}/share/doc/kame
SECTIONS=1 2 3 4 5 6 7 8 9 n
beforeinstall:
for i in ${DIRS}; do \
[ -d ${DESTDIR}$$i ] || mkdir -p ${DESTDIR}$$i; \
done
for i in ${SECTIONS}; do \
[ -d ${DESTDIR}${PREFIX}/man/man$$i ] || mkdir -p ${DESTDIR}${PREFIX}/man/man$$i; \
[ -d ${DESTDIR}${PREFIX}/man/cat$$i ] || mkdir -p ${DESTDIR}${PREFIX}/man/cat$$i; \
done
afterinstall:
# cp ${.CURDIR}/kame/rtadvd/rtadvd.conf \
# ${DESTDIR}${PREFIX}/etc/rtadvd.conf.sample
# cp ${.CURDIR}/kame/bgpd/bgpd.conf \
# ${DESTDIR}${PREFIX}/etc/bgpd.conf.sample
# cp ${.CURDIR}/kame/racoon/samples/racoon.conf.sample \
# ${DESTDIR}$(PREFIX)/etc/
# cp ${.CURDIR}/kame/racoon/samples/psk.txt.sample \
# ${DESTDIR}$(PREFIX)/etc/
# cp ${.CURDIR}/kame/ip6addrctl/ip6addrctl.conf.sample \
# ${DESTDIR}$(PREFIX)/etc/
# if test -x ${PREFIX}/sbin/inet6d; then \
# cp ${.CURDIR}/kame/inet6d/inet6d.conf \
# ${DESTDIR}${PREFIX}/etc/inet6d.conf.sample; \
# fi
for i in ${DOCS}; do \
if test -f ${.CURDIR}/../$$i; then \
cp ${.CURDIR}/../$$i ${DESTDIR}${PREFIX}/share/doc/kame; \
fi \
done
# cp ${.CURDIR}/INSTALL ${DESTDIR}${PREFIX}/share/doc/kame/INSTALL.netbsd
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
# ${.CURDIR}/kame/etc/MAKEDEV.altq ${DESTDIR}/dev
# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
# ${.CURDIR}/kame/send-pr/send-pr \
# ${DESTDIR}${PREFIX}/bin/kame-send-pr
cp -p ${.CURDIR}/kame/shisad/sampleconf/*.conf.sample \
${DESTDIR}${PREFIX}/etc/
.include <bsd.subdir.mk>
Jump to Line
Something went wrong with that request. Please try again.