[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] The make install target



Hi,

I have altered the FreeBSD port graphics/xaralx to install "by hand" the
necessary stuff (the desktop file, the man page, the icon, some
documentation and the examples). Till now the port used the stock
`make install' target which currently only installs ${PREFIX}/bin/XaraLX.

So here is everything I decided that can be useful and therefore should
be installed (from XaraLXSrc-0.5r1175.tar.bz2 for graphics/xaralx, and
XaraLX-0.5r1184.tar.bz2 for graphics/xaralx-devel):

${PREFIX}/man/man1/XaraLX.1.gz
${PREFIX}/bin/XaraLX
${PREFIX}/share/applications/xaralx.desktop
${PREFIX}/share/pixmaps/xaralx.png
${PREFIX}/share/examples/XaraLX/Designs/53 Corvette.xar
${PREFIX}/share/examples/XaraLX/Designs/55 Mercedes.xar
${PREFIX}/share/examples/XaraLX/Designs/BLUECAR.xar
${PREFIX}/share/examples/XaraLX/Designs/CatWoman graphs.xar
${PREFIX}/share/examples/XaraLX/Designs/Cube4.xar
${PREFIX}/share/examples/XaraLX/Designs/EngineTimings.xar
${PREFIX}/share/examples/XaraLX/Designs/Fill Types simple.xar
${PREFIX}/share/examples/XaraLX/Designs/GardenPlan.xar
${PREFIX}/share/examples/XaraLX/Designs/Girard_simple.xar
${PREFIX}/share/examples/XaraLX/Designs/Groucho2.xar
${PREFIX}/share/examples/XaraLX/Designs/JagSS100 simple.xar
${PREFIX}/share/examples/XaraLX/Designs/Phil Hill-fontsremoved.xar
${PREFIX}/share/examples/XaraLX/Designs/Probe.xar
${PREFIX}/share/examples/XaraLX/Designs/Simple Sphere.xar
${PREFIX}/share/examples/XaraLX/Designs/SoftShadow.xar
${PREFIX}/share/examples/XaraLX/Designs/Spitfire.xar
${PREFIX}/share/examples/XaraLX/Designs/TextCurve.xar
${PREFIX}/share/examples/XaraLX/Designs/WATCH.xar
${PREFIX}/share/examples/XaraLX/Designs/WATCH2.xar
${PREFIX}/share/examples/XaraLX/Designs/Watch4.xar
${PREFIX}/share/examples/XaraLX/Designs/amurdove.xar
${PREFIX}/share/examples/XaraLX/Designs/feathers.xar
${PREFIX}/share/examples/XaraLX/Designs/leafgirl.xar
${PREFIX}/share/examples/XaraLX/Designs/scope3 simple.xar
${PREFIX}/share/examples/XaraLX/Templates/1024 by 768 drawing.xar
${PREFIX}/share/examples/XaraLX/Templates/640 by 480 drawing.xar
${PREFIX}/share/examples/XaraLX/Templates/800 by 600 drawing.xar
${PREFIX}/share/examples/XaraLX/Templates/A4 Landscape.xar
${PREFIX}/share/examples/XaraLX/Templates/A4 Portrait.xar
${PREFIX}/share/examples/XaraLX/Templates/A4 double page spread.xar
${PREFIX}/share/examples/XaraLX/Templates/U S Letter.xar
${PREFIX}/share/examples/XaraLX/Templates/animation.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/AngledText.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/BaselineShift.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/FontChangesInText.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/Kerning.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/LineSpacing.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/ManualKern.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/Paragraph.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/Rotated.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/SimpleText.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/SuperSub.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/TextJust.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/Tracking.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/embeddedFonts.xar
${PREFIX}/share/examples/XaraLX/TextDesigns/hebrew.xar
${PREFIX}/share/examples/XaraLX/testfiles/10000GradFilledShapes.xar
${PREFIX}/share/examples/XaraLX/testfiles/20000GradFilledShapes.xar
${PREFIX}/share/examples/XaraLX/testfiles/20000GradFilledShapes50PCtransparent.xar
${PREFIX}/share/examples/XaraLX/testfiles/Broken Butt Cap.xar
${PREFIX}/share/examples/XaraLX/testfiles/OneCurve.xar
${PREFIX}/share/examples/XaraLX/testfiles/OneLine.xar
${PREFIX}/share/examples/XaraLX/testfiles/ProbeX16.xar
${PREFIX}/share/examples/XaraLX/testfiles/RedStar.xar
${PREFIX}/share/examples/XaraLX/testfiles/ScaleTest.xar
${PREFIX}/share/examples/XaraLX/testfiles/ScaleTest2.xar
${PREFIX}/share/examples/XaraLX/testfiles/Test00.xar
${PREFIX}/share/examples/XaraLX/testfiles/Test01.xar
${PREFIX}/share/examples/XaraLX/testfiles/Test02.xar
${PREFIX}/share/examples/XaraLX/testfiles/TestBitmapFill.xar
${PREFIX}/share/examples/XaraLX/testfiles/sortcrash.xar
${PREFIX}/share/examples/XaraLX/testfiles/testsmooth.xar
${PREFIX}/share/doc/XaraLX/AUTHORS
${PREFIX}/share/doc/XaraLX/GPL
${PREFIX}/share/doc/XaraLX/LICENSE
${PREFIX}/share/doc/XaraLX/README
${PREFIX}/share/doc/XaraLX/en/xaralx.htm
${PREFIX}/share/doc/XaraLX/gifutil.txt
${PREFIX}/share/doc/XaraLX/mtrand.txt

If not changed by the user ${PREFIX} defaults to /usr/X11R6.

The reason I did not create a patch for the XaraLX's Makefile.am
is that the "by hand" method is simpler for me and furthermore I am
not sure if the above paths are standard for Linux and other OSes.
I am pretty sure that this files:
${PREFIX}/man/man1/XaraLX.1.gz
${PREFIX}/bin/XaraLX
${PREFIX}/share/applications/xaralx.desktop
${PREFIX}/share/pixmaps/xaralx.png
are fine for any kind of UNIX. But I have doubts about where the
examples and the documentation are expected to be on non-FreeBSD UNIXes.

There are 6 paths above - man, bin, applications (for the desktop file),
pixmaps (for the icon), examples and doc. It would be great if the
`make install' target installs these somewhere by default and these
defaults to be changeable via ./configure options.

What do you think? Ideas? Patches?

-- 
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra