Ignore:
Timestamp:
May 31, 2013, 3:07:45 PM (6 years ago)
Author:
snc@…
Message:

edbrowse: update to 3.4.9

Location:
trunk/dports/www/edbrowse
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/edbrowse/Portfile

    r92837 r106593  
    55
    66name                edbrowse
    7 version             3.4.7
    8 revision            1
     7version             3.4.9
    98categories          www
    109license             GPL
     
    2726
    2827platforms           darwin freebsd
     28installs_libs       no
    2929depends_lib         port:pcre \
    30                     port:spidermonkey \
     30                    port:spidermonkey185 \
    3131                    port:curl \
    3232                    port:readline \
     
    3737dist_subdir                     ${name}-1
    3838
    39 checksums           rmd160  baa0bf1c3cb4320aaee3c2c556bc910ca5502a71 \
    40                     sha256  488d8a02b4480f1474686dfa99058b7f2f36c1d4eb1942ee79471aa8327328fe
     39checksums           rmd160  96b3b88968ea3a1f52f91deff80662a5ab206bee \
     40                    sha256  ef4690e0f695bddf97194e3be5a4b7b999b8af07639e8c6cc02539b6296f3813
    4141
    42 worksrcdir          ${distname}/src
    43 
    44 patchfiles          patch-makefile.osx.diff
     42patchfiles          patch-makefile.diff
    4543post-patch {
    46     reinplace       "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/makefile.osx
    47     reinplace       "s|@@DESTROOT@@|${destroot}${prefix}|g" ${worksrcpath}/makefile.osx
     44    reinplace       "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/makefile
    4845}
    4946
     
    5249variant universal {}
    5350
    54 build.env-append    CC="${configure.cc} [get_canonical_archflags cc]"
    55 build.args          -f makefile.osx
     51configure.cppflags-append -I${prefix}/include/mozjs185
     52build.env-append    CC="${configure.cc} [get_canonical_archflags cc]" CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -DSYSBSD -DXP_UNIX -DX86_LINUX"
     53build.args          STRIP=''
    5654
    57 destroot.args       -f makefile.osx
     55destroot {
     56    xinstall ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
     57}
    5858
    5959livecheck.regex     {(3.[0-9].[0-9])}
  • trunk/dports/www/edbrowse/files/patch-makefile.diff

    r106589 r106593  
    1 --- makefile.osx.orig   2010-10-10 12:34:47.000000000 -0400
    2 +++ makefile.osx        2010-10-10 12:35:17.000000000 -0400
    3 @@ -3,7 +3,7 @@
     1--- src/makefile.orig   2012-12-29 09:22:58.000000000 -0500
     2+++ src/makefile        2013-05-31 10:54:46.000000000 -0400
     3@@ -1,6 +1,6 @@
     4 #  This is the makefile for edbrowse.
    45 
    5  # Flags for gcc compilation.
    6  #  Performance is not vital here, and -O is buggy, so I leave it out.
    7 -# The -I flags assume smjs is installed in /opt/local/include/js via macports
    8 +# The -I flags assume smjs is installed in @@PREFIX@@/include/js via macports
     6-prefix = /usr/local
     7+prefix = @@PREFIX@@
     8 bindir = $(prefix)/bin
    99 
    10  # Allow for symbolic debugging.
    11  DEBUGFLAGS=-g -ggdb
    12 @@ -11,16 +11,16 @@
    13  DEBUGFLAGS=
    14  endif
     10 #  Flags for gcc compilation.
     11@@ -15,7 +15,7 @@
    1512 
    16 -CFLAGS = -I/usr/include -I/opt/local/include -I/opt/local/include/js -DSYSBSD -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS)
    17 +CFLAGS = -I@@PREFIX@@/include -I@@PREFIX@@/include/js -DSYSBSD -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS)
     13 # C preprocessor flags.  CPPFLAGS is used in the %.o: %.c implicit rule,
     14 # available in GNU make.
     15-CPPFLAGS = $(JS_CPPFLAGS)
     16+#CPPFLAGS = $(JS_CPPFLAGS)
    1817 
    19  # Normal load flags, plus flags for macports
    20 -LFLAGS = -L/usr/lib -L/opt/local/lib
    21 +LFLAGS = -L@@PREFIX@@/lib
     18 # By default, we strip the executables.
     19 # Override this behavior on the command line, by setting STRIP to the
     20@@ -59,7 +59,7 @@
    2221 
    23  # Libraries for edbrowse.
    24 -# I assume you have linked libjs.so into /opt/local/lib/libjs.a
    25 +# I assume you have linked libjs.so into @@PREFIX@@/lib/libjs.a
    26  # so that -ljs will suffice.
    27  # -lcrypto is necessary on OS X to provide some ssl functions
    28 -LIBS = -lpcre -lm -lssl -ljs -lcurl -lcrypto
    29 +LIBS = -lpcre -lm -lssl -ljs -lcurl -lcrypto -lreadline
     22 #  You probably need to be root to do this.
     23 install:
     24-       install -Dm755 edbrowse $(DESTDIR)$(bindir)/edbrowse
     25+       install -m755 edbrowse $(DESTDIR)$(bindir)/edbrowse
    3026 
    31  # Make the dynamically linked edbrowse executable by default.
    32  all: edbrowse
    33 @@ -33,16 +33,16 @@
    34  $(EBOBJS) : eb.h eb.p messages.h tcp.h
     27 #  If you had to build the javascript library yourself,
     28 #  link it into /usr/lib.
     29@@ -102,7 +102,7 @@
    3530 
    36  edbrowse: $(EBOBJS) tcp.o dbstubs.o
    37 -       cc $(LFLAGS) -o edbrowse $(EBOBJS) tcp.o dbstubs.o $(LIBS)
    38 +       $(CC) $(LFLAGS) -o edbrowse $(EBOBJS) tcp.o dbstubs.o $(LIBS)
     31 STATICLIBS = -lodbc -lpcre -lm -ljs -lcurl -lssl -lc -lcrypto -lpthread -lm -ldl -lrt
     32 edbrowse.static: $(EBOBJS) tcp.o dbops.o dbodbc.o
     33-       cc --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(STATICLIBS)
     34+       $(CC) --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(STATICLIBS)
    3935 
    40  # You probably need to be root to do this.
    41  install:
    42 -       install edbrowse /usr/local/bin
    43 +       install edbrowse @@DESTROOT@@/bin
    44  
    45  #  odbc stuff
    46  dbodbc.o dbops.o : dbapi.h eb.h eb.p
    47  
    48  edbrowseodbc: $(EBOBJS) tcp.o dbops.o dbodbc.o
    49 -       cc $(LFLAGS) -o edbrowseodbc $(EBOBJS) tcp.o dbops.o dbodbc.o $(LIBS) -lodbc
    50 +       $(CC) $(LFLAGS) -o edbrowseodbc $(EBOBJS) tcp.o dbops.o dbodbc.o $(LIBS) -lodbc
    51  
    52  # Build function prototypes.
    53  # mkproto is my program, not a general unix utility.
     36 clean:
     37        rm -f *.o edbrowse edbrowseinf edbrowseodbc edbrowse.static
Note: See TracChangeset for help on using the changeset viewer.