2012-01-29 09:30:54 +00:00
|
|
|
# Template file for 'mg'
|
|
|
|
pkgname=mg
|
|
|
|
version=20110905
|
2013-05-14 13:34:49 +00:00
|
|
|
revision=2
|
2012-06-03 08:49:06 +00:00
|
|
|
makedepends="ncurses-devel"
|
2012-01-29 09:30:54 +00:00
|
|
|
homepage="http://homepage.boetes.org/software/mg"
|
|
|
|
short_desc="Micro GNU/emacs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Public Domain"
|
2013-04-14 02:24:51 +00:00
|
|
|
distfiles="$homepage/mg-$version.tar.gz"
|
2012-01-29 09:30:54 +00:00
|
|
|
checksum=1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
|
|
|
|
long_desc="
|
|
|
|
mg is Micro GNU/emacs, this is a portable version of the mg maintained
|
|
|
|
by the OpenBSD team."
|
|
|
|
|
|
|
|
do_build() {
|
2013-05-14 13:34:49 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -e "s,/usr/include,$XBPS_CROSS_BASE/include,g" -i configure
|
|
|
|
fi
|
|
|
|
CC="$CC" ./configure
|
|
|
|
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
|
2012-01-29 09:30:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall mg 755 usr/bin
|
|
|
|
vinstall mg.1 644 usr/share/man/man1
|
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
mg_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|