1
0
forked from ports/contrib

materm: Cleanup. Fixed deps.

This commit is contained in:
Jose V Beneyto 2008-03-13 10:51:53 +01:00
parent fe2f21bfa6
commit 2ef7d54f22

View File

@ -2,30 +2,30 @@
# URL: http://materm.sourceforge.net/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: xorg
# Depends on: xorg-libx11
name=materm
version=0.5.3
release=2
release=3
source=(http://dl.sourceforge.net/sourceforge/${name}/mrxvt-${version}.tar.gz \
http://dl.sourceforge.net/sourceforge/${name}/no-scroll-with-buffer-mrxvt-${version}.patch)
build() {
cd mrxvt-${version}
patch -p0 < ../no-scroll-with-buffer-mrxvt-${version}.patch
./configure --prefix=/usr \
--disable-debug \
--enable-menubar \
--enable-xft \
--with-save-lines=200 \
--with-x
make
make DESTDIR=${PKG} install
rm -rf ${PKG}/usr/share/doc
mv ${PKG}/usr/etc/{mrxvt/mrxvtrc,mrxvtrc}
mv ${PKG}/usr/etc/mrxvt/default.{menu,menu.sample}
mv ${PKG}/usr/etc/mrxvt/submenus.{menu,menu.sample}
mv ${PKG}/usr/share/man ${PKG}/usr
rm -f ${PKG}/usr/share/pixmaps/*.png
ln -sf /usr/bin/mrxvt ${PKG}/usr/bin/${name}
cd mrxvt-${version}
patch -p0 < ../no-scroll-with-buffer-mrxvt-${version}.patch
./configure --prefix=/usr \
--disable-debug \
--enable-menubar \
--enable-xft \
--with-save-lines=200 \
--with-x
make
make DESTDIR=${PKG} install
rm -rf ${PKG}/usr/share/doc
mv ${PKG}/usr/etc/{mrxvt/mrxvtrc,mrxvtrc}
mv ${PKG}/usr/etc/mrxvt/default.{menu,menu.sample}
mv ${PKG}/usr/etc/mrxvt/submenus.{menu,menu.sample}
mv ${PKG}/usr/share/man ${PKG}/usr
rm -f ${PKG}/usr/share/pixmaps/*.png
ln -sf /usr/bin/mrxvt ${PKG}/usr/bin/${name}
}