Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 22:06:42 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358188 - in head/devel/libtecla: . scripts
Message-ID:  <201406172206.s5HM6gcc030079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Jun 17 22:06:42 2014
New Revision: 358188
URL: http://svnweb.freebsd.org/changeset/ports/358188
QAT: https://qat.redports.org/buildarchive/r358188/

Log:
  - Support staging.
  - Pass maintainership to submitter.
  
  PR:		191053
  Submitted by:	Keith Gaughan <k@stereochro.me>

Deleted:
  head/devel/libtecla/scripts/
Modified:
  head/devel/libtecla/Makefile
  head/devel/libtecla/pkg-plist

Modified: head/devel/libtecla/Makefile
==============================================================================
--- head/devel/libtecla/Makefile	Tue Jun 17 21:51:22 2014	(r358187)
+++ head/devel/libtecla/Makefile	Tue Jun 17 22:06:42 2014	(r358188)
@@ -3,10 +3,11 @@
 
 PORTNAME=	libtecla
 PORTVERSION=	1.6.2
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.astro.caltech.edu/~mcs/tecla/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	k@stereochro.me
 COMMENT=	Interactive command line editing facilities
 
 LICENSE=	MIT
@@ -16,27 +17,36 @@ GNU_CONFIGURE=	yes
 USE_SUBMAKE=	yes
 ALL_TARGET=	default
 USE_LDCONFIG=	yes
-SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
-		REALCURDIR="${.CURDIR}" \
-		PORTNAME="${PORTNAME}"
 MAKE_JOBS_UNSAFE=	yes
 SSP_UNSAFE=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-post-extract:
-	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genmanlist.sh
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,^OPT = -O,OPT =,' \
 		${WRKSRC}/Makefile.in
 
-post-clean:
-	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
-.endif
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/enhance ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/libtecla.h ${STAGEDIR}${PREFIX}/include
+.for l in libtecla libtecla_r
+	${INSTALL_LIB} ${WRKSRC}/${l}.so.1 ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/${l}.a ${STAGEDIR}${PREFIX}/lib
+	(cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf ${l}.so.1 ${l}.so)
+.endfor
+	for n in ${WRKSRC}/man/prog/*.in; do \
+		d=$${n##*/}; \
+		${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man1/$${d%.in}.1; \
+	done
+	for n in ${WRKSRC}/man/libr/*.in ${WRKSRC}/man/func/*.in; do \
+		d=$${n##*/}; \
+		${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man3/$${d%.in}.3; \
+	done
+	for n in ${WRKSRC}/man/file/*.in; do \
+		d=$${n##*/}; \
+		${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man5/$${d%.in}.5; \
+	done
+	for n in ${WRKSRC}/man/misc/*.in; do \
+		d=$${n##*/}; \
+		${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man7/$${d%.in}.7; \
+	done
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/libtecla/pkg-plist
==============================================================================
--- head/devel/libtecla/pkg-plist	Tue Jun 17 21:51:22 2014	(r358187)
+++ head/devel/libtecla/pkg-plist	Tue Jun 17 22:06:42 2014	(r358188)
@@ -6,3 +6,83 @@ lib/libtecla.so.1
 lib/libtecla_r.a
 lib/libtecla_r.so
 lib/libtecla_r.so.1
+man/man1/enhance.1.gz
+man/man3/cfc_file_start.3.gz
+man/man3/cfc_literal_escapes.3.gz
+man/man3/cfc_set_check_fn.3.gz
+man/man3/cpl_add_completion.3.gz
+man/man3/cpl_complete_word.3.gz
+man/man3/cpl_file_completions.3.gz
+man/man3/cpl_last_error.3.gz
+man/man3/cpl_list_completions.3.gz
+man/man3/cpl_recall_matches.3.gz
+man/man3/cpl_record_error.3.gz
+man/man3/del_CplFileConf.3.gz
+man/man3/del_ExpandFile.3.gz
+man/man3/del_GetLine.3.gz
+man/man3/del_PathCache.3.gz
+man/man3/del_PcaPathConf.3.gz
+man/man3/del_WordCompletion.3.gz
+man/man3/ef_expand_file.3.gz
+man/man3/ef_last_error.3.gz
+man/man3/ef_list_expansions.3.gz
+man/man3/gl_abandon_line.3.gz
+man/man3/gl_bind_keyseq.3.gz
+man/man3/gl_catch_blocked.3.gz
+man/man3/gl_change_terminal.3.gz
+man/man3/gl_clear_history.3.gz
+man/man3/gl_completion_action.3.gz
+man/man3/gl_configure_getline.3.gz
+man/man3/gl_customize_completion.3.gz
+man/man3/gl_display_text.3.gz
+man/man3/gl_echo_mode.3.gz
+man/man3/gl_erase_terminal.3.gz
+man/man3/gl_error_message.3.gz
+man/man3/gl_get_line.3.gz
+man/man3/gl_group_history.3.gz
+man/man3/gl_handle_signal.3.gz
+man/man3/gl_ignore_signal.3.gz
+man/man3/gl_inactivity_timeout.3.gz
+man/man3/gl_io_mode.3.gz
+man/man3/gl_last_signal.3.gz
+man/man3/gl_limit_history.3.gz
+man/man3/gl_list_signals.3.gz
+man/man3/gl_load_history.3.gz
+man/man3/gl_lookup_history.3.gz
+man/man3/gl_normal_io.3.gz
+man/man3/gl_pending_io.3.gz
+man/man3/gl_prompt_style.3.gz
+man/man3/gl_query_char.3.gz
+man/man3/gl_range_of_history.3.gz
+man/man3/gl_raw_io.3.gz
+man/man3/gl_read_char.3.gz
+man/man3/gl_register_action.3.gz
+man/man3/gl_resize_history.3.gz
+man/man3/gl_return_status.3.gz
+man/man3/gl_save_history.3.gz
+man/man3/gl_set_term_size.3.gz
+man/man3/gl_show_history.3.gz
+man/man3/gl_size_of_history.3.gz
+man/man3/gl_state_of_history.3.gz
+man/man3/gl_terminal_size.3.gz
+man/man3/gl_toggle_history.3.gz
+man/man3/gl_trap_signal.3.gz
+man/man3/gl_tty_signals.3.gz
+man/man3/gl_watch_fd.3.gz
+man/man3/libtecla.3.gz
+man/man3/libtecla_version.3.gz
+man/man3/new_CplFileConf.3.gz
+man/man3/new_ExpandFile.3.gz
+man/man3/new_GetLine.3.gz
+man/man3/new_PathCache.3.gz
+man/man3/new_PcaPathConf.3.gz
+man/man3/new_WordCompletion.3.gz
+man/man3/pca_last_error.3.gz
+man/man3/pca_lookup_file.3.gz
+man/man3/pca_path_completions.3.gz
+man/man3/pca_scan_path.3.gz
+man/man3/pca_set_check_fn.3.gz
+man/man3/ppc_file_start.3.gz
+man/man3/ppc_literal_escapes.3.gz
+man/man5/teclarc.5.gz
+man/man7/tecla.7.gz



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