diff options
author | fenner <fenner@FreeBSD.org> | 2000-01-26 06:01:56 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2000-01-26 06:01:56 +0000 |
commit | c6152228f1b7052c338327e1a43c4650ae8dff6b (patch) | |
tree | bab49ec7eaccbdbc3ea79be328f4d74c94715ded /graphics/geomview | |
parent | 6f6d9dd959a6bad5595e4f313b695d6708052b86 (diff) | |
download | FreeBSD-ports-c6152228f1b7052c338327e1a43c4650ae8dff6b.zip FreeBSD-ports-c6152228f1b7052c338327e1a43c4650ae8dff6b.tar.gz |
Don't depend on files/nroff to fake out build.
Diffstat (limited to 'graphics/geomview')
-rw-r--r-- | graphics/geomview/Makefile | 8 | ||||
-rw-r--r-- | graphics/geomview/files/patch-af | 41 | ||||
-rw-r--r-- | graphics/geomview/files/patch-ag | 33 |
3 files changed, 76 insertions, 6 deletions
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile index 6b2d098..a07a856 100644 --- a/graphics/geomview/Makefile +++ b/graphics/geomview/Makefile @@ -31,13 +31,9 @@ MAN3= anytopl.3 bdy.3 fsaparse.3 geomutil.3 lisp.3 plcombine.3 \ plconsol.3 pointlist.3 sweep.3 MAN5= discgrp.5 geomview.5 oogl.5 -# Set CPU type for Geomview make -# Add ${FILESDIR} to PATH for "make install" +# Set "CPU" type for Geomview make # Allow user to specify "make install MAPLE_LIB=foo" as geomview wants -MAKE_ENV= CPU=FreeBSD PATH=${FILESDIR}:${PATH} MAPLE_LIB=${MAPLE_LIB} - -post-extract: - -${CHMOD} +x ${FILESDIR}/nroff +MAKE_ENV= CPU=FreeBSD MAPLE_LIB=${MAPLE_LIB} pre-install: ${MKDIR} ${PREFIX}/share/geomview diff --git a/graphics/geomview/files/patch-af b/graphics/geomview/files/patch-af new file mode 100644 index 0000000..ed5ad7e --- /dev/null +++ b/graphics/geomview/files/patch-af @@ -0,0 +1,41 @@ +--- doc/Makefile.orig Tue Jan 18 16:01:19 2000 ++++ doc/Makefile Tue Jan 18 16:03:03 2000 +@@ -28,22 +28,22 @@ + # Alas, man pages which originate in the doc directory need special handling, + # lest "formatman" overwrite them. + ourmans: +- @mans="${OURMANS}"; mandir=${MANDIR}; \ +- if nroff </dev/null >/dev/null 2>&1; then \ +- for f in $$mans ; do \ +- page=`expr "$$f" : "\(.*\).man"` ; \ +- dirno=`expr "$$f" : ".*\([0-9]\)"` ; \ +- cdir=$$mandir/cat$$dirno; \ +- mdir=$$mandir/man$$dirno; \ +- test -d $$mdir || ${GEOM}/tools/insuredir $$mdir; \ +- rm -f $$cdir/$$page $$mdir/$$page ; \ +- echo "cp $$f $$mdir/$$page"; \ +- cp $$f $$mdir/$$page; \ +- echo "nroff -man $$f | col -b > $$page" ; \ +- nroff -man $$f | col -b > $$page; \ +- ${INSTALL} -O -v -m 644 -F $$cdir $$page; \ +- done; \ +- fi ++# @mans="${OURMANS}"; mandir=${MANDIR}; \ ++# if nroff </dev/null >/dev/null 2>&1; then \ ++# for f in $$mans ; do \ ++# page=`expr "$$f" : "\(.*\).man"` ; \ ++# dirno=`expr "$$f" : ".*\([0-9]\)"` ; \ ++# cdir=$$mandir/cat$$dirno; \ ++# mdir=$$mandir/man$$dirno; \ ++# test -d $$mdir || ${GEOM}/tools/insuredir $$mdir; \ ++# rm -f $$cdir/$$page $$mdir/$$page ; \ ++# echo "cp $$f $$mdir/$$page"; \ ++# cp $$f $$mdir/$$page; \ ++# echo "nroff -man $$f | col -b > $$page" ; \ ++# nroff -man $$f | col -b > $$page; \ ++# ${INSTALL} -O -v -m 644 -F $$cdir $$page; \ ++# done; \ ++# fi + + OOGL.m.doc: _always + ( ${MAKE} header_message ; \ diff --git a/graphics/geomview/files/patch-ag b/graphics/geomview/files/patch-ag new file mode 100644 index 0000000..6be7fb4 --- /dev/null +++ b/graphics/geomview/files/patch-ag @@ -0,0 +1,33 @@ +--- makefiles/Makerules.allsrc.orig Tue Jan 18 16:04:06 2000 ++++ makefiles/Makerules.allsrc Tue Jan 18 16:04:30 2000 +@@ -65,18 +65,18 @@ + # Copy ${MANDIR} to a shell variable in case it includes trailing blanks. + + formatman: +- @mans="${MANS}"; mandir=${MANDIR}; \ +- if nroff </dev/null >/dev/null 2>&1; then \ +- for f in $$mans ; do \ +- cdir=$$mandir/cat`expr "$$f" : ".*\(.\)"` ; \ +- ${GEOM}/tools/insuredir $$cdir; \ +- rm -f $$cdir/$$f ; \ +- echo "nroff -man $$f | col -b > $$cdir/$$f" ; \ +- nroff -man $$f | col -b > $$cdir/$$f; \ +- rm -f ${GEOM}/doc/$$f ; \ +- cp $$cdir/$$f ${GEOM}/doc; \ +- done; \ +- fi ++# @mans="${MANS}"; mandir=${MANDIR}; \ ++# if nroff </dev/null >/dev/null 2>&1; then \ ++# for f in $$mans ; do \ ++# cdir=$$mandir/cat`expr "$$f" : ".*\(.\)"` ; \ ++# ${GEOM}/tools/insuredir $$cdir; \ ++# rm -f $$cdir/$$f ; \ ++# echo "nroff -man $$f | col -b > $$cdir/$$f" ; \ ++# nroff -man $$f | col -b > $$cdir/$$f; \ ++# rm -f ${GEOM}/doc/$$f ; \ ++# cp $$cdir/$$f ${GEOM}/doc; \ ++# done; \ ++# fi + + installman: + @mans="${MANS}"; mandir=${MANDIR}; \ |