Browse Source

openjade: improved to copy catalog and dtd files

stable/0.2
Christian Wiese 14 years ago
parent
commit
0978a342f3
  1. 16
      develop/openjade/openjade.conf

16
develop/openjade/openjade.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../openjade/openjade.conf
# Copyright (C) 2011 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -14,3 +15,18 @@
# the configure sometimes incorrectly falls back to lib64
var_append confopt ' ' "--enable-splibdir=$libdir"
# tweak datadir and sysconfdir
datadir=$datadir/sgml/$pkg-$ver
sysconfdir=$sysconfdir/sgml
openjade_postmake() {
# copy catalog and dtd's
cp -vp dsssl/catalog $root$datadir
cp -vp dsssl/{dsssl,style-sheet,fot}.dtd $root$datadir
# add unversioned/versioned catalog and symlink
mkdir -vp $root$sysconfdir
touch $root$sysconfdir/$pkg-$ver.soc
ln -vsf $pkg-$ver.soc $root$sysconfdir/$pkg.soc
}
hook_add postmake 5 'openjade_postmake'

Loading…
Cancel
Save