265e385f92
Both patches changed. I made new patches to support being able to install to program_prefix. (I supplied these upstream too.) From change log: 2008-02-24 Antonio Diaz * Version 0.9 released. * signal.c (sighup_handler): Return 0 if no error. * Arg_parser updated to 1.1. 2007-08-18 Antonio Diaz * Version 0.8 released. * check.sh: Testsuite exits unsuccesfully in case of error. * ed.1: Fixed some minor problems in the manual page. * ed.texinfo: Added 21kB of legalese (fdl.texinfo). 2007-07-18 Antonio Diaz * Version 0.7 released. * buf.c (dec_addr): Now returns correct address when wrapping. 2007-06-29 Antonio Diaz * Version 0.6 released. * License updated to GPL version 3 or later. * signal.c (sigwinch_handler, set_signal): Fixed two minor compatibility problems. * main_loop.c (main_loop): Fixed an infinite loop when reading an empty script. 2007-03-09 Antonio Diaz * Version 0.5 released. * main_loop.c (next_addr): '%' reimplemented as it was in ed 0.2. 2007-01-15 Antonio Diaz * Version 0.4 released. * Fixed some minor problems in the testsuite. 2006-11-11 Antonio Diaz * Version 0.3 released. * buf.c (open_sbuf): Fixed symlink vulnerability using standard function `tmpfile'. * signal.c: Fixed signal handling for SIGINT. * main_loop.c (exec_command): Fixed `c' and `i' commands with address 0. * The pause mode has been removed. * main.c: Added new options `--loose-exit-status' and `--verbose'. * carg_parser.c: New argument parser that replaces `getopt_long'. * `configure' and `Makefile.in' have been replaced. * Removed recursive make for testsuite. * Created directory `doc'. * Removed all pre ISO C89 code. * Removed all global variables. * ed.texinfo: Added to the manual the changes from Andrew and some mine.
27 lines
645 B
Makefile
27 lines
645 B
Makefile
# $NetBSD: Makefile,v 1.10 2008/04/09 00:38:51 reed Exp $
|
|
|
|
DISTNAME= ed-0.9
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=ed/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
HOMEPAGE= http://www.gnu.org/software/ed/ed.html
|
|
COMMENT= GNU version of line-oriented text editor
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
INFO_FILES= # PLIST
|
|
|
|
.if defined(GNU_PROGRAM_PREFIX)
|
|
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
|
|
.endif
|
|
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
|
|
BUILD_DEFS+= GNU_PROGRAM_PREFIX
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && ${MAKE} install-man
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|