void-packages/srcpkgs/xfig/template

28 lines
821 B
Bash

# Template file for 'xfig'
pkgname=xfig
version=3.2.9
revision=1
build_style="gnu-configure"
hostmakedepends="fig2dev ghostscript netpbm"
makedepends="freetype-devel libXaw-devel libXaw3d-devel libXft-devel
libXi-devel libXmu-devel libXpm-devel libXt-devel
libjpeg-turbo-devel libpng-devel"
depends="gsfonts fig2dev"
short_desc="Interactive drawing tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom:xfig"
homepage="http://mcj.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz"
checksum=13ed9d04d1bbc2dec09da7ef49ceec278382d290f6cd926474c2f2d016fec2f7
# Hard-coded to /usr/include in the sources.
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
post_extract() {
vsed -i 's/spell %f/aspell list %f/' app-defaults/Fig
}
post_install() {
vlicense HACKING LICENSE
}