1993-11-19 22:22:26 +03:00
|
|
|
#
|
|
|
|
# Makefile for building a standalone send-pr.
|
|
|
|
#
|
|
|
|
|
|
|
|
VERSION=3.01.6
|
|
|
|
RELEASE=NetBSD-current
|
|
|
|
GNATS_HOST=sun-lamp
|
|
|
|
|
|
|
|
BINDIR= /usr/bin
|
1993-11-24 04:56:43 +03:00
|
|
|
LIBDIR= /usr/share
|
1993-11-19 22:22:26 +03:00
|
|
|
|
|
|
|
NOPROG=
|
|
|
|
MAN1= send-pr.0
|
|
|
|
|
1993-11-20 04:25:42 +03:00
|
|
|
CLEANFILES= send-pr install-sid send-pr.1
|
1993-11-19 22:22:26 +03:00
|
|
|
|
|
|
|
all: send-pr install-sid send-pr.1
|
|
|
|
|
|
|
|
send-pr: send-pr.sh
|
|
|
|
sed -e 's/@VERSION@/$(VERSION)/g' \
|
|
|
|
-e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
|
|
|
|
${.CURDIR}/send-pr.sh > send-pr
|
|
|
|
|
|
|
|
send-pr.1: send-pr.man
|
|
|
|
sed -e 's/@VERSION@/$((VERSION)/g' \
|
|
|
|
${.CURDIR}/send-pr.man > send-pr.1
|
|
|
|
|
|
|
|
install-sid: install-sid.sh
|
|
|
|
sed -e 's/@VERSION@/$(VERSION)/g' \
|
|
|
|
${.CURDIR}/install-sid.sh > install-sid
|
|
|
|
|
|
|
|
beforeinstall:
|
1993-11-20 04:25:42 +03:00
|
|
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} send-pr \
|
1993-11-19 22:22:26 +03:00
|
|
|
${DESTDIR}${BINDIR}
|
1993-11-20 04:25:42 +03:00
|
|
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} install-sid \
|
1993-11-19 22:22:26 +03:00
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
install -d -o root -g wheel -m 755 ${DESTDIR}${LIBDIR}/gnats
|
1993-11-20 04:25:42 +03:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/categories \
|
1993-11-19 22:22:26 +03:00
|
|
|
${DESTDIR}${LIBDIR}/gnats/${GNATS_HOST}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|