Changeset 5199


Ignore:
Timestamp:
Feb 5, 2004, 2:03:04 AM (16 years ago)
Author:
toby
Message:

updating to version 3.2, fixing some destroot issues

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Location:
trunk/dports/textproc/rman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/rman/Portfile

    r3173 r5199  
    1 # $Id: Portfile,v 1.6 2003/08/05 09:29:39 jkh Exp $
     1# $Id: Portfile,v 1.7 2004/02/05 02:03:04 toby Exp $
    22
    33PortSystem 1.0
    4 name            rman
    5 version         3.0.9
    6 categories      textproc
    7 maintainers     lomion@mac.com
    8 description     Man page format converter
    9 long_description PolyglotMan takes formatted man pages from most of the popular flavours of UN*X and transforms them into any number of source formats. It can produce ASCII-only, section headers-only, TkMan, \[tn\]roff, Ensemble, SGML, HTML, LaTeX, RTF, Perl 5 POD.
    10 homepage        http://polyglotman.sourceforge.net/
    11 platforms       darwin
    12 master_sites    http://polyglotman.sourceforge.net/
    13 checksums       md5 f29a3bde5b35d1624f41357b96262f8f
    14 patchfiles      patch-Makefile
     4name             rman
     5version          3.2
     6categories       textproc
     7maintainers      lomion@mac.com
     8description      Man page format converter
     9long_description \
     10    PolyglotMan takes formatted man pages from most of the popular \
     11    flavours of UN*X and transforms them into any number of source \
     12    formats. It can produce ASCII-only, section headers-only, \
     13    TkMan, \[tn\]roff, Ensemble, SGML, HTML, LaTeX, RTF, Perl 5 POD.
     14homepage         http://polyglotman.sourceforge.net/
     15platforms        darwin
     16master_sites     sourceforge:polyglotman
     17checksums        md5 6d1d67641c6d042595a96a62340d3cc6
     18patchfiles       patch-Makefile
    1519
    16 configure       { cd ${worksrcpath}
    17                   reinplace "s|__PREFIX|${prefix}|g" Makefile
    18                   reinplace "s|__DSTROOT|${destroot}|g" Makefile }               
    19 pre-destroot {
    20         system "install -d ${destroot}${prefix}/bin"
    21         system "install -d ${destroot}${prefix}/man/man1"
     20configure {
     21    cd ${worksrcpath}
     22    reinplace "s|__PREFIX|${prefix}|g" Makefile
     23    reinplace "s|__DSTROOT|${destroot}${prefix}|g" Makefile
    2224}
  • trunk/dports/textproc/rman/files/patch-Makefile

    r1956 r5199  
    1 --- Makefile    Wed Jun 21 21:05:56 2000
    2 +++ Makefile.monkey     Mon Feb  3 17:50:50 2003
    3 @@ -15,9 +15,10 @@
     1--- Makefile.orig       Wed Feb  4 17:23:05 2004
     2+++ Makefile    Wed Feb  4 17:23:35 2004
     3@@ -15,10 +15,10 @@
    44 #    this must be a directory that's in your bin PATH.
    55 # MANDIR holds the man page.
    66 
    7 -BINDIR = /usr/local/bin
    8 +INSTALLDIR = __DSTROOT
    9 +BINDIR = __PREFIX/bin
     7-BINDIR = /opt/local/bin
     8+BINDIR = __DSTROOT/bin
     9 #BINDIR = /usr/local/bin
    1010 #BINDIR = //C/bin
    11 -MANDIR = /home/auspex/h/bair/phelps/man/man1
    12 +MANDIR = __PREFIX/man/man1
    13  #MANDIR = /usr/local/man/man1
    14  
    15  
    16 @@ -119,11 +120,11 @@
    17         quantify -cache-dir=/home/orodruin/h/bair/phelps/spine/rman/cache $(CC) -DNDEBUG $(defs) -DPOLYGLOTMANVERSION=\"QUANTIFY\" -g -o rman rman.c
    18  
    19  install: rman
    20 -#      $(INSTALL) -s rman $(BINDIR)
    21 -       $(RM) -f $(BINDIR)/rman
    22 -       $(CP) rman $(BINDIR)
    23 -       $(RM) -f $(MANDIR)/rman.1
    24 -       $(CP) rman.1 $(MANDIR)
    25 +#      $(INSTALL) -s rman $(INSTALLDIR)$(BINDIR)
    26 +       $(RM) -f $(INSTALLDIR)$(BINDIR)/rman
    27 +       $(CP) rman $(INSTALLDIR)$(BINDIR)
    28 +       $(RM) -f $(INSTALLDIR)$(MANDIR)/rman.1
    29 +       $(CP) rman.1 $(INSTALLDIR)$(MANDIR)
    30  
    31  # test version includes assertions
    32  #      ginstall rman $(BINDIR)/`arch`
     11-MANDIR = /usr/local/man/man1
     12+MANDIR = __DSTROOT/share/man/man1
     13 # popular alternative
     14 #BINDIR = /opt/local/bin
     15 #MANDIR = /opt/local/man/man1
Note: See TracChangeset for help on using the changeset viewer.