Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 18:53:10 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335531 - head/devel/libedit
Message-ID:  <201312021853.rB2IrA1I028840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec  2 18:53:10 2013
New Revision: 335531
URL: http://svnweb.freebsd.org/changeset/ports/335531

Log:
  - 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>

Modified:
  head/devel/libedit/Makefile   (contents, props changed)
  head/devel/libedit/pkg-plist   (contents, props changed)

Modified: head/devel/libedit/Makefile
==============================================================================
--- head/devel/libedit/Makefile	Mon Dec  2 18:36:22 2013	(r335530)
+++ head/devel/libedit/Makefile	Mon Dec  2 18:53:10 2013	(r335531)
@@ -11,36 +11,20 @@ MASTER_SITES=	ftp://ftp.astron.com/pub/l
 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>

Modified: head/devel/libedit/pkg-plist
==============================================================================
--- head/devel/libedit/pkg-plist	Mon Dec  2 18:36:22 2013	(r335530)
+++ head/devel/libedit/pkg-plist	Mon Dec  2 18:53:10 2013	(r335531)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312021853.rB2IrA1I028840>