[29069] trunk/dports/archivers/unarj
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 14 05:54:58 PDT 2007
Revision: 29069
http://trac.macosforge.org/projects/macports/changeset/29069
Author: nox at macports.org
Date: 2007-09-14 05:54:58 -0700 (Fri, 14 Sep 2007)
Log Message:
-----------
unarj (closes #12681):
* Added standard doc installation.
* Added universal support.
* Added livecheck and sha1 and rmd160 checksums.
* Removed useless patch (replaced by correct build.target).
* Now uses default destroot procedure.
Modified Paths:
--------------
trunk/dports/archivers/unarj/Portfile
Removed Paths:
-------------
trunk/dports/archivers/unarj/files/
Modified: trunk/dports/archivers/unarj/Portfile
===================================================================
--- trunk/dports/archivers/unarj/Portfile 2007-09-14 12:53:38 UTC (rev 29068)
+++ trunk/dports/archivers/unarj/Portfile 2007-09-14 12:54:58 UTC (rev 29069)
@@ -1,26 +1,38 @@
# $Id$
PortSystem 1.0
+
name unarj
version 2.63a
+revision 1
categories archivers sysutils
description extract files from dos .arj archives
maintainers jc at crazic.ru
+
long_description ${description}
+
homepage http://ibiblio.org/pub/Linux/utils/compress/
-master_sites http://ibiblio.org/pub/Linux/utils/compress/
-checksums md5 a83d139c245f911f22cb1b611ec9768f
+master_sites ${homepage}
-patchfiles patch-Makefile
+checksums md5 a83d139c245f911f22cb1b611ec9768f \
+ sha1 abd35d894444fea1a0bdc7472ed2346f0f8c6ba4 \
+ rmd160 cebee016ffc2b7eb74a13f8246d82ea68519e500
-build.target all
-use_configure no
+build.target unarj
-destroot {
- xinstall -m 755 -d ${destroot}/${prefix}/bin
- xinstall -m 755 -d ${destroot}/${prefix}/share/doc/unarj
- file copy ${build.dir}/unarj ${destroot}/${prefix}/bin
- file copy ${build.dir}/unarj.txt ${destroot}/${prefix}/share/doc/unarj
+configure {
+ reinplace -E "/^CFLAGS/s|-ansi -pedantic|[join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
}
-universal_variant no
+destroot.destdir INSTALLDIR=${destroot}${prefix}/bin
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 ${worksrcpath}/unarj.txt ${destroot}${docdir}
+}
+
+livecheck.check regex
+livecheck.url ${homepage}?C=M&O=D
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\[a-z\])
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070914/a5917366/attachment.html
More information about the macports-changes
mailing list