From 1ad4fd0608cfef69653df9c1b180aa67e688326c Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 25 Oct 2001 19:16:50 +0000 Subject: Add a small Makefile for unroff in a more conventional way, using patches. Remove configure script. --- textproc/unroff/distinfo | 3 ++- textproc/unroff/patches/patch-ac | 26 ++++++++++++++++++++++++++ textproc/unroff/scripts/configure | 30 ------------------------------ 3 files changed, 28 insertions(+), 31 deletions(-) create mode 100644 textproc/unroff/patches/patch-ac delete mode 100644 textproc/unroff/scripts/configure (limited to 'textproc/unroff') diff --git a/textproc/unroff/distinfo b/textproc/unroff/distinfo index 4d6200f8d94..5f8517ec2f8 100644 --- a/textproc/unroff/distinfo +++ b/textproc/unroff/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 15:05:12 skrll Exp $ +$NetBSD: distinfo,v 1.3 2001/10/25 19:16:50 agc Exp $ SHA1 (unroff/unroff-1.0.tar.gz) = bc8159ec7862de9f50666e79a538f46fdec4314c Size (unroff/unroff-1.0.tar.gz) = 83202 bytes @@ -8,3 +8,4 @@ SHA1 (unroff/misc-patch-2) = be14aea8569e30efdc25047f9c2497cb2c7ca96a Size (unroff/misc-patch-2) = 78714 bytes SHA1 (patch-aa) = ad1fc9788742fdc04b1994778734358415ee23ea SHA1 (patch-ab) = 319ede5443c5b3edb3d8ebed0a01f4b723a14494 +SHA1 (patch-ac) = a75301976655e2bfc928183b2f8168488c40c12e diff --git a/textproc/unroff/patches/patch-ac b/textproc/unroff/patches/patch-ac new file mode 100644 index 00000000000..d696875f438 --- /dev/null +++ b/textproc/unroff/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1 2001/10/25 19:16:50 agc Exp $ + +Add a small Makefile for this package + +--- /dev/null Thu Oct 25 20:08:08 2001 ++++ Makefile Thu Oct 25 20:08:08 2001 +@@ -0,0 +1,19 @@ ++CFLAGS+= -DBSD ++BINDIR= ${PREFIX}/bin ++LIBDIR= ${PREFIX}/share/unroff ++MANDIR= ${PREFIX}/man/man1 ++ ++all: ++ (cd src; make 'CFLAGS=${CFLAGS}' 'PREFIX=${PREFIX}' all) ++ ++install: ++ @mkdir -p ${BINDIR} ${LIBDIR} ${MANDIR} ++ install -c -o bin -g bin src/unroff ${PREFIX}/bin/unroff ++ cp -R scm ${LIBDIR} ++ @mkdir -p ${LIBDIR}/doc ++ cp doc/manual.ms ${LIBDIR}/doc ++ @mkdir -p ${LIBDIR}/misc ++ cp doc/tmac.hyper misc/sample.unroff ${LIBDIR}/misc ++ @chown -R bin:bin ${LIBDIR} ++ install -c -m 644 -o bin -g bin doc/*.1 ${MANDIR} ++ diff --git a/textproc/unroff/scripts/configure b/textproc/unroff/scripts/configure deleted file mode 100644 index b8e8927ecb8..00000000000 --- a/textproc/unroff/scripts/configure +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $NetBSD: configure,v 1.4 1999/01/09 20:49:27 kleink Exp $ -# - -# write a small makefile to ${WRKSRC} - -cat >${WRKSRC}/Makefile <