diff options
author | agc <agc@pkgsrc.org> | 2001-10-25 19:16:50 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-10-25 19:16:50 +0000 |
commit | 1ad4fd0608cfef69653df9c1b180aa67e688326c (patch) | |
tree | c829a79c5600998966e7837bff617779ce86b266 /textproc/unroff/patches | |
parent | d6b092f862f547e7dee28f73af8f38c47efd3367 (diff) | |
download | pkgsrc-1ad4fd0608cfef69653df9c1b180aa67e688326c.tar.gz |
Add a small Makefile for unroff in a more conventional way, using patches.
Remove configure script.
Diffstat (limited to 'textproc/unroff/patches')
-rw-r--r-- | textproc/unroff/patches/patch-ac | 26 |
1 files changed, 26 insertions, 0 deletions
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} ++ |