[91440] trunk/dports/devel/bsdiff

ryandesign at macports.org ryandesign at macports.org
Sun Apr 1 18:06:04 PDT 2012


Revision: 91440
          https://trac.macports.org/changeset/91440
Author:   ryandesign at macports.org
Date:     2012-04-01 18:06:00 -0700 (Sun, 01 Apr 2012)
Log Message:
-----------
bsdiff: patch Makefile to avoid needing bsdmake; use rmd160 and sha256 checksums; #33854

Modified Paths:
--------------
    trunk/dports/devel/bsdiff/Portfile

Added Paths:
-----------
    trunk/dports/devel/bsdiff/files/patch-Makefile.diff

Modified: trunk/dports/devel/bsdiff/Portfile
===================================================================
--- trunk/dports/devel/bsdiff/Portfile	2012-04-02 00:16:12 UTC (rev 91439)
+++ trunk/dports/devel/bsdiff/Portfile	2012-04-02 01:06:00 UTC (rev 91440)
@@ -16,13 +16,12 @@
 homepage         http://www.daemonology.net/bsdiff/
 platforms        darwin
 master_sites     ${homepage}
-checksums        md5 e6d812394f0e0ecc8d5df255aa1db22a
 
-patchfiles       patch-bspatch.c.diff
+checksums           rmd160  27bb255b5dd5aa56d3a076dac9ca76d238a79a04 \
+                    sha256  18821588b2dc5bf159aa37d3bcb7b885d85ffd1e19f23a0c57a58723fea85f48
 
-post-patch {
-    reinplace s|/man/man1|/share/man/man1| ${worksrcpath}/Makefile
-}
+patchfiles          patch-bspatch.c.diff \
+                    patch-Makefile.diff
 
 depends_lib      port:bzip2
 
@@ -37,7 +36,6 @@
     eval configure.ldflags-append   ${configure.ld_archflags}
 }
 
-build.type       bsd
 build.env-append CC="${configure.cc}" \
                  CFLAGS="${configure.cflags}" \
                  LDFLAGS="${configure.ldflags}"

Added: trunk/dports/devel/bsdiff/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/bsdiff/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/bsdiff/files/patch-Makefile.diff	2012-04-02 01:06:00 UTC (rev 91440)
@@ -0,0 +1,18 @@
+--- Makefile.orig	2012-04-01 14:46:18.000000000 +0200
++++ Makefile	2012-04-01 15:06:34.000000000 +0200
+@@ -1,6 +1,7 @@
+ CFLAGS		+=	-O3 -lbz2
+ 
+ PREFIX		?=	/usr/local
++INSTALL		?=	install
+ INSTALL_PROGRAM	?=	${INSTALL} -c -s -m 555
+ INSTALL_MAN	?=	${INSTALL} -c -m 444
+ 
+@@ -10,6 +11,4 @@
+ 
+ install:
+ 	${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
+-.ifndef WITHOUT_MAN
+-	${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
+-.endif
++	${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/share/man/man1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120401/a5fcb291/attachment-0001.html>


More information about the macports-changes mailing list