Ignore:
Timestamp:
May 19, 2009, 7:41:44 AM (11 years ago)
Author:
blb@…
Message:

textproc/libsgml - fix compilation and installation; ticket #15281

Location:
trunk/dports/textproc/libsgml
Files:
2 added
2 edited

Legend:

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

    r37026 r51142  
    55name                libsgml
    66version             1.1.4
     7revision            1
    78categories          textproc
    89platforms           darwin
     
    2021patchfiles          patch-examples_variant.c.diff \
    2122                    patch-src_Variant.c.diff \
    22                     patch-Makefile.in.diff
     23                    patch-Makefile.in.diff \
     24                    patch-configure.in.diff \
     25                    patch-src_Makefile.in.diff
    2326
    24 post-configure {
    25     reinplace "s|-shared|-dynamiclib|" ${worksrcpath}/src/Makefile
    26     reinplace "s|libsgml.so|libsgml.dylib|" ${worksrcpath}/src/Makefile
    27 }
     27use_autoreconf      yes
     28autoreconf.args     -fvi
    2829
    29 destroot.env-append PREFIX=${prefix}
     30use_parallel_build  no
     31
  • trunk/dports/textproc/libsgml/files/patch-Makefile.in.diff

    r36997 r51142  
    1 Index: Makefile.in
    2 ===================================================================
    3 --- Makefile.in.orig    2003-03-24 09:48:21.000000000 +0100
    4 +++ Makefile.in 2008-05-22 17:18:20.000000000 +0200
    5 @@ -3,19 +3,19 @@
     1--- Makefile.in.orig    2003-03-24 01:48:21.000000000 -0700
     2+++ Makefile.in 2009-05-19 01:38:55.000000000 -0600
     3@@ -1,21 +1,24 @@
     4+prefix=@prefix@
     5+
     6 all:
     7        cd src && make
    68        cd examples && make
    79 
     
    2022-       install -m 644 -o root -g root libsgml.a /usr/local/lib/libsgml.a
    2123-       install -m 644 -o root -g root libsgml.so /usr/local/lib/libsgml.so
    22 +       install -d $(DESTDIR)$(PREFIX)/include/sgml
    23 +       install include/DomComment.h $(DESTDIR)$(PREFIX)/include/sgml/DomComment.h
    24 +       install include/DomDocument.h $(DESTDIR)$(PREFIX)/include/sgml/DomDocument.h
    25 +       install include/DomElement.h $(DESTDIR)$(PREFIX)/include/sgml/DomElement.h
    26 +       install include/DomNode.h $(DESTDIR)$(PREFIX)/include/sgml/DomNode.h
    27 +       install include/DomNodeList.h $(DESTDIR)$(PREFIX)/include/sgml/DomNodeList.h
    28 +       install include/DomText.h $(DESTDIR)$(PREFIX)/include/sgml/DomText.h
    29 +       install include/SgmlParser.h $(DESTDIR)$(PREFIX)/include/sgml/SgmlParser.h
    30 +       install include/SgmlExtensionHtml.h $(DESTDIR)$(PREFIX)/include/sgml/SgmlExtensionHtml.h
    31 +       install include/SgmlExtensionXml.h $(DESTDIR)$(PREFIX)/include/sgml/SgmlExtensionXml.h
    32 +       install include/libsgml.h $(DESTDIR)$(PREFIX)/include/sgml/libsgml.h
    33 +       install libsgml.a $(DESTDIR)$(PREFIX)/lib/libsgml.a
    34 +       install libsgml.dylib $(DESTDIR)$(PREFIX)/lib/libsgml.dylib
     24+       install -d $(DESTDIR)$(prefix)/include/sgml
     25+       install include/DomComment.h $(DESTDIR)$(prefix)/include/sgml/DomComment.h
     26+       install include/DomDocument.h $(DESTDIR)$(prefix)/include/sgml/DomDocument.h
     27+       install include/DomElement.h $(DESTDIR)$(prefix)/include/sgml/DomElement.h
     28+       install include/DomNode.h $(DESTDIR)$(prefix)/include/sgml/DomNode.h
     29+       install include/DomNodeList.h $(DESTDIR)$(prefix)/include/sgml/DomNodeList.h
     30+       install include/DomText.h $(DESTDIR)$(prefix)/include/sgml/DomText.h
     31+       install include/SgmlParser.h $(DESTDIR)$(prefix)/include/sgml/SgmlParser.h
     32+       install include/SgmlExtensionHtml.h $(DESTDIR)$(prefix)/include/sgml/SgmlExtensionHtml.h
     33+       install include/SgmlExtensionXml.h $(DESTDIR)$(prefix)/include/sgml/SgmlExtensionXml.h
     34+       install include/Variant.h $(DESTDIR)$(prefix)/include/sgml/Variant.h
     35+       install include/libsgml.h $(DESTDIR)$(prefix)/include/sgml/libsgml.h
     36+       install libsgml.a $(DESTDIR)$(prefix)/lib/libsgml.a
     37+       install libsgml.dylib $(DESTDIR)$(prefix)/lib/libsgml.dylib
    3538 
    3639 uninstall:
Note: See TracChangeset for help on using the changeset viewer.