I have made changes at places were you have pointed me to correct.
----------------------------------------------------------------------------------------------------------------------------------
Package: minimal-context
Version:  6.2.1
Revision: 1
Provides: context,pdftex,luatex,mpost
NoSourceDirectory:True
Source: http://www.pragma-ade.com/context/current/cont-tmf.zip
Source-MD5:88a008311ce619ee81f582fb063a63bf
Source2:http://foundry.supelec.fr/gf/download/frsrelease/386/1704/luatex-beta-0.65.0-source.tar.bz2
Source2-MD5:7089d840cef28cd220e6b7bad0a8f78b
Source3:http://foundry.supelec.fr/gf/download/frsrelease/383/1651/metapost-1.212-src.tar.bz2
Source3-MD5:949cc7628c956819e1f1bdebdf2cf853
Source4:http://sarovar.org/frs/download.php/1292/pdftex-1.40.10.tar.bz2
Source4-MD5:e451f7a1906a618f35d4e894ca9a13d7

Source5:http://portingcontext.googlecode.com/files/vf.zip
Source5-MD5:df713a65e6b80c583fa2bb25e3eb0d1c
Source6:http://portingcontext.googlecode.com/files/public.zip
Source6-MD5:96e35242cfbac6028a00934389dfcd22
Source7:http://portingcontext.googlecode.com/files/tfm.zip
Source7-MD5:8ff62f34e6ffc8b4e2b17896d5eba3a1
Source8:http://portingcontext.googlecode.com/files/afm.zip
Source8-MD5:5287ab995ef01afd6de357f207870580
Source9:http://portingcontext.googlecode.com/files/enc.zip
Source9-MD5:15f82aedc34e67fdc81cf7c04146521b
Source10:http://portingcontext.googlecode.com/files/lm.zip
Source10-MD5:fec64c22dabe8d226fdb659d85132f6a
Source11:http://portingcontext.googlecode.com/files/map.zip
Source11-MD5:575cf8eaaf0f7aec79568432e8a24d8a
Source12:http://portingcontext.googlecode.com/files/misc.zip
Source12-MD5:b0cd1a2165426af0b87d3c5f2e90df89
Source13:http://portingcontext.googlecode.com/files/opentype.zip
Source13-MD5:a9008fbb68c2e54bd8ffbc3cf9db84db
Source14:http://portingcontext.googlecode.com/files/truetype.zip
Source14-MD5:8bf6b1e2fb818f12898fa12d896b0bc2
Source15:http://portingcontext.googlecode.com/files/type1.zip
Source15-MD5:b9bd7c3c62333a8a75d15380b5c20162
Source16:http://portingcontext.googlecode.com/files/web_2c.zip
Source16-MD5:0ac4ac7f5dd41a22be181bf3e54049c3
Source17:http://portingcontext.googlecode.com/files/atex.zip
Source17-MD5:37c7679940f71a5efd771fbc2c4a514a

CompileScript:<<
#!/bin/bash -ev
mkdir -p ctex/texmf ctex/texmf-context ctex/texmf-osx-intel/bin 
ctex/texmf-project ctex/texmf-local ctex/texmf-fonts
cp -R bibtex ctex/texmf-context/
cp -R tex ctex/texmf-context/
cp -R scripts ctex/texmf-context/
cp -R fonts ctex/texmf-context/
cp -R metapost ctex/texmf-context/
cp -R web2c ctex/texmf-context/
cp -R context ctex/texmf-context/
cp -R doc ctex/texmf-context/
cp -R ctex/texmf-context/scripts/context/stubs/unix/ ctex/texmf-osx-intel/bin/
chmod +x ctex/texmf-osx-intel/bin/*

cd luatex-beta-0.65.0
chmod +x build.sh
./build.sh
cd ..
cp luatex-beta-0.65.0/build/texk/kpathsea/kpseaccess ctex/texmf-osx-intel/bin/
cp luatex-beta-0.65.0/build/texk/kpathsea/kpsewhich ctex/texmf-osx-intel/bin/
cp luatex-beta-0.65.0/build/texk/kpathsea/kpsestat ctex/texmf-osx-intel/bin/
cp luatex-beta-0.65.0/source/texk/kpathsea/mktexlsr ctex/texmf-osx-intel/bin/
cp luatex-beta-0.65.0/build/texk/web2c/luatex ctex/texmf-osx-intel/bin/



cd pdftex-1.40.10
chmod +x build-pdftex.sh
./build-pdftex.sh
cd ..
cp pdftex-1.40.10/build-pdftex/texk/web2c/pdftex ctex/texmf-osx-intel/bin/


cd metapost-1.212
chmod +x build.sh
./build.sh
cd ..
cp metapost-1.212/build/texk/web2c/mpost ctex/texmf-osx-intel/bin/
cp -R metapost-1.212/texmf/metapost ctex/texmf


mkdir font
cp -R afm font 
cp -R enc font
cp -R lm font
cp -R map font 
cp -R misc font 
cp -R opentype font 
cp -R public font 
cp -R tfm font  
cp -R truetype font 
cp -R type1 font 
cp -R vf font 
cp -R ./font/lm ./font/public
cp -R ./font/public ./font/type1
cp -R font ctex/texmf
mv ctex/texmf/font ctex/texmf/fonts
cp -R web_2c/web2c ctex/texmf
cp -R atex/tex ctex/texmf

<<
InstallScript: <<
 mkdir -p %i/share
 mv ctex %i/share
<<
PostInstScript: <<
chmod -R 755 %p/share/ctex/texmf/web2c
chmod -R 755 %p/share/ctex/texmf/fonts
ln -s  %p/share/ctex/texmf-osx-intel/bin/luatex 
%p/share/ctex/texmf-osx-intel/bin/texlua
ln -s  %p/share/ctex/texmf-osx-intel/bin/luatex 
%p/share/ctex/texmf-osx-intel/bin/texluac
rm -f %p/bin/texlua %p/bin/texluac %p/bin/context %p/bin/kpseaccess 
%p/bin/kpsestat %p/bin/kpsewhich %p/bin/luatex %p/bin/luatools %p/bin/metatex 
%p/bin/mktexlsr %p/bin/mpost %p/bin/mptopdf %p/bin/mtxrun %p/bin/pdftex 
%p/bin/texexec %p/bin/texmfstart
ln -s  %p/share/ctex/texmf-osx-intel/bin/texlua %p/bin/texlua
ln -s  %p/share/ctex/texmf-osx-intel/bin/texluac %p/bin/texluac
ln -s  %p/share/ctex/texmf-osx-intel/bin/context %p/bin/context
ln -s  %p/share/ctex/texmf-osx-intel/bin/kpseaccess %p/bin/kpseaccess
ln -s  %p/share/ctex/texmf-osx-intel/bin/kpsestat %p/bin/kpsestat
ln -s  %p/share/ctex/texmf-osx-intel/bin/kpsewhich %p/bin/kpsewhich
ln -s  %p/share/ctex/texmf-osx-intel/bin/luatex %p/bin/luatex
ln -s  %p/share/ctex/texmf-osx-intel/bin/luatools %p/bin/luatools
ln -s  %p/share/ctex/texmf-osx-intel/bin/metatex %p/bin/metatex
ln -s  %p/share/ctex/texmf-osx-intel/bin/mktexlsr %p/bin/mktexlsr
ln -s  %p/share/ctex/texmf-osx-intel/bin/mpost %p/bin/mpost
ln -s  %p/share/ctex/texmf-osx-intel/bin/mptopdf %p/bin/mptopdf
ln -s  %p/share/ctex/texmf-osx-intel/bin/mtxrun %p/bin/mtxrun
ln -s  %p/share/ctex/texmf-osx-intel/bin/pdftex %p/bin/pdftex
ln -s  %p/share/ctex/texmf-osx-intel/bin/texexec %p/bin/texexec
ln -s  %p/share/ctex/texmf-osx-intel/bin/texmfstart %p/bin/texmfstart
%p/share/ctex/texmf-osx-intel/bin/mktexlsr
%p/share/ctex/texmf-osx-intel/bin/texexec --make --all
<<
License: OSI-Approved
HomePage: http://www.pragma-ade.com
Maintainer: Julius Canute <juliuscan...@gmail.com>
Description: Typesetting package
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please review it and suggest any modifications.
Here is the output of "dpkg -L minimal-context"
http://pastebin.com/tz8Cj6mE

On Feb 7, 2011, at 10:27 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2/7/11 10:05 AM, Julius Canute wrote:
>> here is the output of "dpkg -L context"
>> http://pastebin.com/2wXtYTZb
> 
> The layout isn't acceptable (though the validator isn't yet programmed
> to catch the problem).
> 
> Did you read the section of the packaging manual on the Fink directory
> layout:
> 
> http://www.finkproject.org/doc/packaging/fslayout.php?phpLang=en#fhs
> 
> ?  In particular:
> 
> /sw/bin       
> This directory is for general executable programs. *There are no
> subdirectories*.
> 
> You're not building a standalone app bundle, and I don't see a
> compelling reason why the package needs a private directory, rather than
> being laid out like the TeX distros which are already in Fink.
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk1QJHoACgkQB8UpO3rKjQ+DdgCeKjTvLtX6fJt4BjNXVOK84soF
> ziQAoIjgmELeYzpr2HZT0I0IpJb8YCaE
> =vf9l
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to