[68776] trunk/dports/net

jmr at macports.org jmr at macports.org
Sun Jun 13 05:25:10 PDT 2010


Revision: 68776
          http://trac.macports.org/changeset/68776
Author:   jmr at macports.org
Date:     2010-06-13 05:25:05 -0700 (Sun, 13 Jun 2010)
Log Message:
-----------
New port: 3proxy, a tiny free proxy server (#25020)

Added Paths:
-----------
    trunk/dports/net/3proxy/
    trunk/dports/net/3proxy/Portfile
    trunk/dports/net/3proxy/files/
    trunk/dports/net/3proxy/files/Makefile.unix-install.diff

Added: trunk/dports/net/3proxy/Portfile
===================================================================
--- trunk/dports/net/3proxy/Portfile	                        (rev 0)
+++ trunk/dports/net/3proxy/Portfile	2010-06-13 12:25:05 UTC (rev 68776)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    3proxy
+version                 0.6.1
+categories              net
+platforms               darwin
+maintainers             mail.ru:nano103
+description             tiny free proxy server
+long_description        3proxy is a universal proxy server. It can be used \
+                        to provide internal users with fully controllable \
+                        access to external resources or to provide external \
+                        users with access to internal resources.
+homepage                http://3proxy.ru/
+master_sites            ${homepage}${version}/
+
+extract.suffix          .tgz
+
+checksums               md5     03790467a12e16ed8785ae688ecf9b68 \
+                        sha1    07e3f687585c6281847316b0f9220c5b071b3dde \
+                        rmd160 9c0394401f31341e09f653a709ca0392c9451e32
+
+patchfiles              Makefile.unix-install.diff
+post-patch {
+    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile.unix-install
+    reinplace "s/-O2/-O2 ${configure.cc_archflags}/g" ${worksrcpath}/Makefile.unix
+}
+
+use_configure           no
+
+build.args              -f Makefile.unix CC="${configure.cc}" \
+                        LN="${configure.cc}"
+destroot.args           -f Makefile.unix-install


Property changes on: trunk/dports/net/3proxy/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/net/3proxy/files/Makefile.unix-install.diff
===================================================================
--- trunk/dports/net/3proxy/files/Makefile.unix-install.diff	                        (rev 0)
+++ trunk/dports/net/3proxy/files/Makefile.unix-install.diff	2010-06-13 12:25:05 UTC (rev 68776)
@@ -0,0 +1,20 @@
+--- Makefile.unix-install.orig	2007-03-01 18:12:14.000000000 +0300
++++ Makefile.unix-install	2010-05-24 19:37:24.000000000 +0400
+@@ -1,5 +1,5 @@
+ DESTDIR		=
+-prefix		= /usr/local
++prefix		= __PREFIX__
+ exec_prefix	= $(prefix)
+ man_prefix	= $(prefix)/share
+ 
+@@ -50,10 +50,8 @@
+ 	done;
+ 
+ install-man:
+-	$(INSTALL_BIN) -d $(MANDIR1)
+ 	$(INSTALL_BIN) -d $(MANDIR3)
+ 	$(INSTALL_BIN) -d $(MANDIR8)
+-	$(INSTALL_DATA) man/*.1 $(MANDIR1)
+ 	$(INSTALL_DATA) man/*.3 $(MANDIR3)
+ 	$(INSTALL_DATA) man/*.8 $(MANDIR8)
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100613/57501346/attachment.html>


More information about the macports-changes mailing list