summaryrefslogtreecommitdiff
path: root/textproc/unroff/patches
diff options
context:
space:
mode:
authoragc <agc>2001-10-25 19:16:50 +0000
committeragc <agc>2001-10-25 19:16:50 +0000
commit94df03814658852b1e4c26c13c68ba1780ad15bd (patch)
treec829a79c5600998966e7837bff617779ce86b266 /textproc/unroff/patches
parente1a16ab3800e6758612db91deac4c2d907779c60 (diff)
downloadpkgsrc-94df03814658852b1e4c26c13c68ba1780ad15bd.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-ac26
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}
++