# Distributed under the terms of the GNU General Public License, v2 or later # Author: Benedict Verhegghe # S=${WORKDIR}/${P} DESCRIPTION="Website Pre-processor" HOMEPAGE="http://www.wsmake.org/" SRC_URI="${HOMEPAGE}/dwnlds/stable/${P}.tar.bz2 ${HOMEPAGE}/dwnlds/docs/user-manual.pdf ${HOMEPAGE}/dwnlds/docs/user-manual-html.tar.gz ${HOMEPAGE}/dwnlds/docs/user-manual.ps" src_unpack () { unpack ${P}.tar.bz2 cd ${S} #Apply patch to allow compiling patch -p0 < ${FILESDIR}/${P}-bv.diff || die unpack user-manual-html.tar.gz } src_compile () { ./configure --prefix=/usr || die emake || die cd doc tar -cf examples.tar examples || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS Artistic COPYING ChangeLog* DEVELOPERS LICENSE NEWS README TODO cd user-manual dohtml * stylesheet-images/* cd ../doc dodoc manual.txt examples.tar }