Modified Package: Apache-fop modified directory eliminating

the version so it is easy to add library or other thing to it
especially hyphenation patterns without bother to the installation
directory, the management is done through the ${version} in the
template file

Regards
Carlo
This commit is contained in:
onekk 2014-06-18 11:35:12 +02:00
parent baa8845c91
commit 361d6ff17f
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
FOP_OPTS="-Xmx512m" FOP_OPTS="-Xmx512m"
FOP_HOME="/usr/share/fop-1.1" FOP_HOME="/usr/share/fop"

View file

@ -13,7 +13,7 @@ hostmakedepends="jdk"
makedepends="apache-ant" makedepends="apache-ant"
depends="jre " depends="jre "
wrksrc="fop-${version}" wrksrc="fop-${version}"
_prefix="usr/share/fop-${version}" _prefix="usr/share/fop"
conf_files="/etc/fop.conf" conf_files="/etc/fop.conf"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
@ -53,6 +53,6 @@ do_install() {
vinstall ${FILESDIR}/fop.conf 644 etc/ vinstall ${FILESDIR}/fop.conf 644 etc/
#create a handy symlink #create a handy symlink
vmkdir usr/bin vmkdir usr/bin
ln -sf /usr/share/fop-${version}/fop $DESTDIR/usr/bin/fop ln -sf /usr/share/fop/fop $DESTDIR/usr/bin/fop
} }