[28483] trunk/dports/archivers/sharutils/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 1 11:25:53 PDT 2007


Revision: 28483
          http://trac.macosforge.org/projects/macports/changeset/28483
Author:   nox at macports.org
Date:     2007-09-01 11:25:52 -0700 (Sat, 01 Sep 2007)

Log Message:
-----------
sharutils:
 * NLS is not anymore a variant.
 * Fixed livecheck.
 * Removed superfluous configure.args.

Modified Paths:
--------------
    trunk/dports/archivers/sharutils/Portfile

Modified: trunk/dports/archivers/sharutils/Portfile
===================================================================
--- trunk/dports/archivers/sharutils/Portfile	2007-09-01 18:19:32 UTC (rev 28482)
+++ trunk/dports/archivers/sharutils/Portfile	2007-09-01 18:25:52 UTC (rev 28483)
@@ -21,34 +21,21 @@
 master_sites		gnu:${name}/REL-${version}
 use_bzip2			yes
 
+depends_lib			port:gettext \
+					port:libiconv
+
 checksums			md5 729c070d814d9c688489d88dd7fd3efb \
 					sha1 0b8c1d54fdcf97a93aba079d342d1873a8fc423b \
 					rmd160 6ef271d21ea41003ff13d6aef241c6a4fd4dc296
 
-configure.args-append	--mandir=${prefix}/share/man \
-						--infodir=${prefix}/share/info \
-						--disable-nls
-
-set docdir				${prefix}/share/doc/${name}-${version}
-
 post-destroot {
+	set docdir ${prefix}/share/doc/${name}-${version}
 	xinstall -d ${destroot}${docdir}
-	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
-		${destroot}${docdir}
+	xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS \
+		TODO ${destroot}${docdir}
 }
 
-variant nls description {Enable NLS support} {
-	depends_lib-append		port:gettext \
-							port:libiconv
-
-	configure.args-delete	--disable-nls
-
-	post-destroot {
-		xinstall -m 0644 ${worksrcpath}/ABOUT-NLS ${destroot}${docdir}
-	}
-}
-
 livecheck.check		regex
-livecheck.url		http://ftp.gnu.org/gnu/sharutils/?M=D
+livecheck.url		http://ftp.gnu.org/gnu/sharutils/?C=M&O=D
 livecheck.regex		REL-(\\d+(?:\\.\\d+)*)
 

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


More information about the macports-changes mailing list