diff --git a/develop/openjade/openjade.conf b/develop/openjade/openjade.conf index cae249027..915ea7e51 100644 --- a/develop/openjade/openjade.conf +++ b/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'