# Description: An 8-bit clean, POSIX-compliant line editor # URL: http://www.gnu.org/software/ed/ed.html # Maintainer: CRUX System Team, core-ports at crux dot nu name=ed version=1.1 release=1 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build() { cd $name-$version # ed wants to use hard links for the binary and man pages, # but pkgmk cannot compress hard linked man pages yet. # as a temporary workaround, i'm making it use symlinks instead. sed -i -e 's/ln /ln -s /' Makefile.in ./configure --prefix=/usr \ --exec-prefix=/ \ --mandir=/usr/man \ CFLAGS="$CFLAGS" make make DESTDIR=$PKG install install-man rm -r $PKG/usr/share }