[22797] trunk/dports/sysutils/compare

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 14 12:51:57 PDT 2007


Revision: 22797
          http://trac.macosforge.org/projects/macports/changeset/22797
Author:   mww at macports.org
Date:     2007-03-14 12:51:57 -0700 (Wed, 14 Mar 2007)

Log Message:
-----------
fix problems with hidden gnu-tools (gnu 'install' behaving different)

Modified Paths:
--------------
    trunk/dports/sysutils/compare/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/compare/files/
    trunk/dports/sysutils/compare/files/patch-RULES-rules.prg

Modified: trunk/dports/sysutils/compare/Portfile
===================================================================
--- trunk/dports/sysutils/compare/Portfile	2007-03-14 19:51:26 UTC (rev 22796)
+++ trunk/dports/sysutils/compare/Portfile	2007-03-14 19:51:57 UTC (rev 22797)
@@ -4,9 +4,10 @@
 
 name			compare
 version			1.16
+revision		1
 categories		sysutils
 platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		mww at macports.org
 description		fast replacement for cmp
 long_description	compare is similar to cmp but faster and with better \
 				readable output. compare examines one file and standard in, or \
@@ -15,18 +16,23 @@
 				and then in hexadecimal, followed by the differing byte \
 				content in hexadecimal and a quoted character.
 
-homepage		ht
-master_sites	ftp://ftp.berlios.de/pub/compare/
-checksums		md5 b4fdc2ad3c07e6df23cfe02e923bd775
+homepage		ftp://ftp.berlios.de/pub/compare/
+master_sites	${homepage}
+checksums		md5 b4fdc2ad3c07e6df23cfe02e923bd775 \
+				sha1 0e76cfa606ecb358c693f160ad56b820545922b5
+patchfiles		patch-RULES-rules.prg
 
+depends_build	port:smake
+
 use_configure	no
 
-build.type		gnu
+build.cmd		${prefix}/bin/smake
 build.target
 
 destroot.destdir	INS_BASE=${destroot}${prefix} \
 				MANDIR=share/man
-post-destroot	{
-	file delete -force ${destroot}${prefix}/share/man/man5 \
-		${destroot}${prefix}/lib ${destroot}${prefix}/include
+post-destroot {
+	cd ${destroot}${prefix}
+	file delete -force share/man/man5 lib include
 }
+

Added: trunk/dports/sysutils/compare/files/patch-RULES-rules.prg
===================================================================
--- trunk/dports/sysutils/compare/files/patch-RULES-rules.prg	                        (rev 0)
+++ trunk/dports/sysutils/compare/files/patch-RULES-rules.prg	2007-03-14 19:51:57 UTC (rev 22797)
@@ -0,0 +1,11 @@
+--- RULES/rules.prg	2000-03-19 17:16:43.000000000 +0100
++++ RULES/rules.prg	2007-03-14 20:44:06.000000000 +0100
+@@ -75,7 +75,7 @@
+ 
+ LD=		@echo "	==> LINKING   \"$@\""; ld
+ LOCALIZE=	@echo "	==> LOCALIZING \"$@\""; $(RM_F) $@; cp
+-INSTALL=	@echo "	==> INSTALLING \"$@\""; sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS) -o $(INSUSR) -g $(INSGRP)
++INSTALL=	@echo "	==> INSTALLING \"$@\""; sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS)
+ CHMOD=		@echo "	==> SEETING PERMISSIONS ON \"$@\""; chmod
+ CHOWN=		@echo "	==> SETTING OWNER ON \"$@\""; chown
+ CHGRP=		@echo "	==> SETTING GROUP ON \"$@\""; chgrp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070314/06ba8630/attachment.html


More information about the macports-changes mailing list