1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Add LICENSE

- Strip shared library
- Support STAGEDIR
- While I'm here, use REINPLACE_CMD instead of patch file

PR:		ports/184436
Submitted by:	Rodrigo Osorio <rodrigo@bebik.net>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-12-02 18:53:10 +00:00
parent 7b264f3c3b
commit e6e44a680e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335531
2 changed files with 26 additions and 23 deletions

View File

@ -11,36 +11,20 @@ MASTER_SITES= ftp://ftp.astron.com/pub/libedit/ \
MAINTAINER= rodrigo@bebik.net
COMMENT= Command line editing library
LICENSE= BSD
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN3= editline.3
MAN5= editrc.5
MLINKS= editline.3 el_init.3 \
editline.3 el_end.3 \
editline.3 el_reset.3 \
editline.3 el_gets.3 \
editline.3 el_getc.3 \
editline.3 el_push.3 \
editline.3 el_parse.3 \
editline.3 el_set.3 \
editline.3 el_get.3 \
editline.3 el_source.3 \
editline.3 el_resize.3 \
editline.3 el_line.3 \
editline.3 el_insertstr.3 \
editline.3 el_deletestr.3 \
editline.3 history_init.3 \
editline.3 history_end.3 \
editline.3 history.3
MANCOMPRESSED= no
NO_STAGE= yes
post-extract:
${MV} ${WRKSRC}/readline ${WRKSRC}/editline
post-patch:
@${REINPLACE_CMD} -e 's|$$(PREFIX)|$$(DESTDIR)&|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
s|MAJOR="2"|MAJOR="6"|g' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libedit.so
.include <bsd.port.mk>

View File

@ -2,6 +2,25 @@ include/editline/history.h
include/editline/readline.h
include/histedit.h
lib/libedit.a
lib/libedit.so.6
lib/libedit.so
lib/libedit.so.6
man/man3/editline.3.gz
man/man3/el_deletestr.3.gz
man/man3/el_end.3.gz
man/man3/el_get.3.gz
man/man3/el_getc.3.gz
man/man3/el_gets.3.gz
man/man3/el_init.3.gz
man/man3/el_insertstr.3.gz
man/man3/el_line.3.gz
man/man3/el_parse.3.gz
man/man3/el_push.3.gz
man/man3/el_reset.3.gz
man/man3/el_resize.3.gz
man/man3/el_set.3.gz
man/man3/el_source.3.gz
man/man3/history.3.gz
man/man3/history_end.3.gz
man/man3/history_init.3.gz
man/man5/editrc.5.gz
@dirrm include/editline