[30817] trunk/dports/editors/TeXmacs/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 7 11:56:58 PST 2007


Revision: 30817
          http://trac.macosforge.org/projects/macports/changeset/30817
Author:   gwright at macports.org
Date:     2007-11-07 11:56:58 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
Version bump to 1.0.6.12, de-cd and add the new fonts.

Modified Paths:
--------------
    trunk/dports/editors/TeXmacs/Portfile

Modified: trunk/dports/editors/TeXmacs/Portfile
===================================================================
--- trunk/dports/editors/TeXmacs/Portfile	2007-11-07 19:52:25 UTC (rev 30816)
+++ trunk/dports/editors/TeXmacs/Portfile	2007-11-07 19:56:58 UTC (rev 30817)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name		TeXmacs
-version		1.0.6.10
-revision	1
+version		1.0.6.12
 distname	${distname}-src
 categories	editors
 maintainers	gwright at macports.org
@@ -39,13 +38,14 @@
 #		function. A known issue that is being worked on.
 
 homepage	http://www.texmacs.org/
-master_sites	ftp://ftp.texmacs.org/pub/TeXmacs/targz/
+master_sites	ftp://ftp.texmacs.org/pub/${name}/targz/:source	\
+		ftp://ftp.texmacs.org/pub/${name}/fonts/:fonts
 
-distfiles	${name}-${version}-src${extract.suffix} \
-		${name}-600dpi-fonts${extract.suffix}
+distfiles	${name}-${version}-src${extract.suffix}:source \
+		${name}-extra-fonts-1.0-noarch${extract.suffix}:fonts
 
-checksums	${name}-${version}-src.tar.gz md5 073a2de1448b24ef215d6d0d39139dc8 \
-		${name}-600dpi-fonts.tar.gz   md5 945dfd3f76b20082aeea8131d87a260f
+checksums	${name}-${version}-src.tar.gz         md5 5cdd9ea143657e8801d50b9dcc97c510 \
+		${name}-extra-fonts-1.0-noarch.tar.gz md5 4666d29252da18bbc3fa7e162bb00b17
 
 patchfiles	patch-configure		\
 		patch-Makefile.9
@@ -58,23 +58,22 @@
 
 extract.only	${name}-${version}-src${extract.suffix}
 
+post-extract	{ system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-extra-fonts-1.0-noarch${extract.suffix} ${extract.post_args} -C ${worksrcpath}/${name}"
+		}
+
 platform darwin 6 {
 		    depends_lib-append	lib:libdl:dlcompat
 		}
 
 configure.cflags-append	"-no-cpp-precomp"
+configure.args	--mandir=${prefix}/share/man
 
 # TeXmacs is ignorant of "make all", so we just "make" with no target:
 build.target	{ }
 
 post-destroot	{ file mkdir ${destroot}/${prefix}/share/${name}
-                  cd         ${destroot}/${prefix}/share/${name}
+                  system "chown -R root:admin ${destroot}${prefix}/share/${name}"
 
-                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
-
-                  cd         ${destroot}/${prefix}/share/
-                  system "chown -R root:admin ${name}"
-
 		  file rename ${destroot}${prefix}/share/${name}/plugins/cadabra \
 			      ${destroot}${prefix}/share/${name}/plugins/cadabra.texmacs
                 }

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


More information about the macports-changes mailing list