- Fix installation of man pages

- Respect PREFIX
- While at it, fix WWW line and Makefile (spaces vs. tabs)

Reported by:	bapt
This commit is contained in:
Pietro Cerutti 2013-07-24 14:37:57 +00:00
parent fc992f6dde
commit ea8e7855e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323598
3 changed files with 16 additions and 4 deletions

View file

@ -18,12 +18,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
MAKE_JOBS_SAFE= yes
ALL_TARGET= binaries libraries doc-old
USE_TCL= 84+
USE_TCL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR}
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--exec-prefix=${PREFIX}
# Too bad, n is no longer an acceptable section for bsd.man.mk
MANN= fifo.n fifo2.n memchan.n memchanapi.n null.n random.n zero.n
MANN= fifo.n fifo2.n memchan.n memchanapi.n null.n random.n zero.n
PLIST_SUB+= PORTVERSION=${PORTVERSION}
regression-test test:

View file

@ -0,0 +1,11 @@
--- Makefile.in.orig 2013-07-24 16:30:52.000000000 +0200
+++ Makefile.in 2013-07-24 16:30:35.000000000 +0200
@@ -237,7 +237,7 @@
@for i in $(DOC_NROFF); do \
echo "Installing $$i"; \
rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
- $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
+ $(INSTALL_DATA) doc/$$i $(DESTDIR)$(mandir)/mann ; \
done
test: binaries libraries

View file

@ -7,4 +7,4 @@ interpreters, and additionally provide an easy interface to on-the-fly
generation of code too. No need to set or append to a string, just do a
simple puts.
WWW: http://memchan.sourceforge.net/
WWW: http://memchan.sourceforge.net/