[65046] trunk/dports/audio/cd-discid

ryandesign at macports.org ryandesign at macports.org
Sat Mar 20 05:50:33 PDT 2010


Revision: 65046
          http://trac.macports.org/changeset/65046
Author:   ryandesign at macports.org
Date:     2010-03-20 05:50:32 -0700 (Sat, 20 Mar 2010)
Log Message:
-----------
cd-discid: fix homepage and update to 1.1; see #16389

Modified Paths:
--------------
    trunk/dports/audio/cd-discid/Portfile
    trunk/dports/audio/cd-discid/files/patch-Makefile

Modified: trunk/dports/audio/cd-discid/Portfile
===================================================================
--- trunk/dports/audio/cd-discid/Portfile	2010-03-20 12:41:11 UTC (rev 65045)
+++ trunk/dports/audio/cd-discid/Portfile	2010-03-20 12:50:32 UTC (rev 65046)
@@ -3,8 +3,7 @@
 PortSystem              1.0
 
 name                    cd-discid
-version                 0.9
-revision                1
+version                 1.1
 categories              audio
 platforms               darwin
 maintainers             nomaintainer
@@ -21,16 +20,17 @@
                         backend tool for cdgrab (now abcde) but will work \
                         independantly of it.
 
-homepage                http://www.hispalinux.es/~data/abcde.php
-master_sites            http://www.hispalinux.es/~data/files/cd-discid/ \
-                        http://lly.org/~rcw/cd-discid/
+homepage                http://linukz.org/cd-discid.shtml
+master_sites            http://linukz.org/download/
 
-distname                ${name}_${version}.orig
-worksrcdir              ${name}-${version}
+checksums               md5     04cb368e3f1ce17e656ac6691ca0b687 \
+                        sha1    74cedeb2c5bf4f3248af249c0ff344ea9d713d1a \
+                        rmd160  4fe4e53103565a01d1dc2dffcc9d43b4b1ea6565
 
-checksums               md5 64677b8b63d1db0db015043f5455171a
-
 patchfiles              patch-Makefile
+post-patch {
+    reinplace "s/@VERSION@/${version}/g" ${worksrcpath}/Makefile
+}
 
 use_configure           no
 

Modified: trunk/dports/audio/cd-discid/files/patch-Makefile
===================================================================
--- trunk/dports/audio/cd-discid/files/patch-Makefile	2010-03-20 12:41:11 UTC (rev 65045)
+++ trunk/dports/audio/cd-discid/files/patch-Makefile	2010-03-20 12:50:32 UTC (rev 65046)
@@ -1,5 +1,5 @@
---- Makefile	2003-01-05 14:18:07.000000000 -0600
-+++ Makefile	2009-06-25 00:43:36.000000000 -0500
+--- Makefile.orig	2009-09-02 03:03:08.000000000 -0500
++++ Makefile	2010-03-20 07:48:10.000000000 -0500
 @@ -1,17 +1,11 @@
 -VERSION = 0.8
 -CC = gcc
@@ -7,7 +7,7 @@
 -LDFLAGS =
 -LIBS = 
 -DEFS =  
-+VERSION = 0.9
++VERSION = @VERSION@
  INSTALL = /usr/bin/install -c
  
  # Installation directories
@@ -20,15 +20,3 @@
  
  INCL = 
  SRCS = cd-discid.c
-@@ -32,9 +26,9 @@
- 
- install: cd-discid
- 	$(INSTALL) -d -m 755 $(bindir)
--	$(INSTALL) -s -m 755 -o 0 cd-discid $(bindir)
-+	$(INSTALL) -s -m 755 cd-discid $(bindir)
- 	$(INSTALL) -d -m 755 $(mandir)
--	$(INSTALL) -m 644 -o 0 cd-discid.1 $(mandir)
-+	$(INSTALL) -m 644 cd-discid.1 $(mandir)
- 
- tarball:
- 	@cd .. && tar czvf cd-discid_$(VERSION).orig.tar.gz \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100320/a2505e45/attachment.html>


More information about the macports-changes mailing list