OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.6 KiB

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