[68085] trunk/dports/www/edbrowse

snc at macports.org snc at macports.org
Wed May 26 06:34:29 PDT 2010


Revision: 68085
          http://trac.macports.org/changeset/68085
Author:   snc at macports.org
Date:     2010-05-26 06:34:24 -0700 (Wed, 26 May 2010)
Log Message:
-----------
update version, uncomment license, don't hardcode locations

Modified Paths:
--------------
    trunk/dports/www/edbrowse/Portfile

Added Paths:
-----------
    trunk/dports/www/edbrowse/files/
    trunk/dports/www/edbrowse/files/patch-makefile.osx.diff

Modified: trunk/dports/www/edbrowse/Portfile
===================================================================
--- trunk/dports/www/edbrowse/Portfile	2010-05-26 10:00:09 UTC (rev 68084)
+++ trunk/dports/www/edbrowse/Portfile	2010-05-26 13:34:24 UTC (rev 68085)
@@ -4,10 +4,9 @@
 PortSystem          1.0
 
 name                edbrowse
-version             3.4.3
-revision			1
+version             3.4.4
 categories          www
-#license             GPL
+license             GPL
 maintainers         snc email.uc.edu:obrienj
 description         A combination editor, browser, and mail client that is \
                     100% text based.
@@ -34,16 +33,16 @@
 master_sites        ${homepage}
 use_zip             yes
 dist_subdir			${name}-1
-checksums           md5     a5f8c9b01deaebc1633710e52b686a0d \
-                    sha1    939fe522da01e337d1d733f49ca8b201ea78e91e \
-                    rmd160  80449f1bdd1075f5547d715fdfa6b8f1a96fc636
+checksums           md5     1abe73a484a0b4cd0963cc7e9174c83d \
+                    sha1    180ac417442eba5a9fd2f431fde23d25c0526626 \
+                    rmd160  d22f14a5dd64dad3ca8d60b4ec3cd0fc234d5bfd
 
 worksrcdir          ${distname}/src
 
-patch {
-    reinplace       "s| -I/usr/include||" ${worksrcpath}/makefile.osx
-    reinplace       "s| -L/usr/lib||" ${worksrcpath}/makefile.osx
-    reinplace       "s|/usr/local/bin|${destroot}${prefix}/bin|" ${worksrcpath}/makefile.osx
+patchfiles          patch-makefile.osx.diff
+post-patch {
+    reinplace       "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/makefile.osx
+    reinplace       "s|@@DESTROOT@@|${destroot}${prefix}|g" ${worksrcpath}/makefile.osx
 }
 
 use_configure       no

Added: trunk/dports/www/edbrowse/files/patch-makefile.osx.diff
===================================================================
--- trunk/dports/www/edbrowse/files/patch-makefile.osx.diff	                        (rev 0)
+++ trunk/dports/www/edbrowse/files/patch-makefile.osx.diff	2010-05-26 13:34:24 UTC (rev 68085)
@@ -0,0 +1,37 @@
+--- makefile.osx.orig	2010-05-26 09:24:20.000000000 -0400
++++ makefile.osx	2010-05-26 09:25:31.000000000 -0400
+@@ -3,7 +3,7 @@
+ 
+ # Flags for gcc compilation.
+ #  Performance is not vital here, and -O is buggy, so I leave it out.
+-# The -I flags assume smjs is installed in /opt/local/include/js via macports
++# The -I flags assume smjs is installed in @@PREFIX@@/include/js via macports
+ 
+ # Allow for symbolic debugging.
+ DEBUGFLAGS=-g -ggdb
+@@ -11,13 +11,13 @@
+ DEBUGFLAGS=
+ endif
+ 
+-CFLAGS = -I/usr/include -I/opt/local/include -I/opt/local/include/js -DSYSBSD -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS)
++CFLAGS = -I@@PREFIX@@/include -I@@PREFIX@@/include/js -DSYSBSD -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS)
+ 
+ # Normal load flags, plus flags for macports
+-LFLAGS = -L/usr/lib -L/opt/local/lib
++LFLAGS = -L@@PREFIX@@/lib
+ 
+ # Libraries for edbrowse.
+-# I assume you have linked libjs.so into /opt/local/lib/libjs.a
++# I assume you have linked libjs.so into @@PREFIX@@/lib/libjs.a
+ # so that -ljs will suffice.
+ # -lcrypto is necessary on OS X to provide some ssl functions
+ LIBS = -lpcre -lm -lssl -ljs -lcurl -lcrypto
+@@ -37,7 +37,7 @@
+ 
+ # You probably need to be root to do this.
+ install:
+-	install edbrowse /usr/local/bin
++	install edbrowse @@DESTROOT@@/bin
+ 
+ #  odbc stuff
+ dbodbc.o dbops.o : dbapi.h eb.h eb.p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100526/89a7c4ca/attachment.html>


More information about the macports-changes mailing list