aboutsummaryrefslogtreecommitdiff
path: root/devel/libedit
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libedit')
-rw-r--r--devel/libedit/Makefile28
-rw-r--r--devel/libedit/pkg-plist21
2 files changed, 26 insertions, 23 deletions
diff --git a/devel/libedit/Makefile b/devel/libedit/Makefile
index 7aa9e76da889..34ef72b4ffe5 100644
--- a/devel/libedit/Makefile
+++ b/devel/libedit/Makefile
@@ -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>
diff --git a/devel/libedit/pkg-plist b/devel/libedit/pkg-plist
index 57c553ae16da..133ca3a22de8 100644
--- a/devel/libedit/pkg-plist
+++ b/devel/libedit/pkg-plist
@@ -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