2014-07-01 21:00:08 +00:00
|
|
|
# Template file for 'plan9port'
|
|
|
|
pkgname=plan9port
|
|
|
|
version=20140306
|
2014-11-23 14:38:38 +00:00
|
|
|
revision=3
|
2014-07-01 21:00:08 +00:00
|
|
|
wrksrc=$pkgname
|
2014-07-02 12:24:27 +00:00
|
|
|
hostmakedepends="which perl"
|
|
|
|
makedepends="libX11-devel libXt-devel libXext-devel freetype-devel fontconfig-devel"
|
2014-07-01 21:00:08 +00:00
|
|
|
short_desc="Port of many Plan 9 programs to Unix-like operating systems"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
2014-11-23 14:38:38 +00:00
|
|
|
license="custom"
|
2014-07-01 21:00:08 +00:00
|
|
|
homepage="http://swtch.com/plan9port/"
|
2014-10-31 14:27:14 +00:00
|
|
|
update_site="https://code.google.com/p/plan9port/downloads/list"
|
2014-11-23 14:38:38 +00:00
|
|
|
distfiles="https://${pkgname}.googlecode.com/files/${pkgname}-${version}.tgz"
|
2014-07-01 21:00:08 +00:00
|
|
|
checksum=cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb
|
|
|
|
|
|
|
|
do_build() {
|
2014-11-23 14:38:38 +00:00
|
|
|
./INSTALL
|
2014-07-01 21:00:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2014-11-23 14:38:38 +00:00
|
|
|
xargs -a lib/moveplan9.files -d'\n' sed -i "s#$wrksrc#/opt/plan9#"
|
2014-07-01 21:00:08 +00:00
|
|
|
|
2014-11-23 14:38:38 +00:00
|
|
|
vinstall $FILESDIR/plan9.sh 644 etc/profile.d
|
|
|
|
vlicense LICENSE
|
|
|
|
|
|
|
|
vmkdir opt
|
|
|
|
cp -a $wrksrc $DESTDIR/opt/plan9
|
|
|
|
cd $DESTDIR/opt/plan9
|
|
|
|
rm -r install.{log,sum} .xbps* .hg*
|
2014-07-01 21:00:08 +00:00
|
|
|
}
|