# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../groff/groff.conf # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- pm_groff () { ln -sf soelim $root$bindir/zsoelim mkdir mandocj ; cd mandocj ; tar $taropt `match_source_file -p mandocj` mkdir -p $root$datadir/$pkg/$ver/tmac/mdoc cp mdoc/* $root$datadir/$pkg/$ver/tmac/mdoc/ cp tmac.andocj $root$datadir/$pkg/$ver/tmac/andocj.tmac cp tmac.docj $root$datadir/$pkg/$ver/tmac/docj.tmac cd .. } hook_add postmake 5 "pm_groff" var_append confopt ' ' '--libdir=$root$libdir' var_append extraconfopt ' ' '--enable-japanese --enable-multibyte' # cross works-arounds, do not build and install docs utilizing groff itself # and hackery due to absense of DESTDIR if ! atstage native; then var_append extraconfopt ' ' '--bindir=\${prefix}/bin --datadir=\${prefix}/share \ --infodir=\${prefix}/share/info --mandir=\${prefix}/share/man \ --with-appresdir=\${prefix}/usr/X11/lib/X11/app-defaults' var_append makeopt ' ' 'OTHERDIRS="src/utils/afmtodit src/roff/grog src/roff/nroff tmac"' makeinstopt="$makeopt prefix=$root/$prefix install" fi