Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2016 12:38:24 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406307 - in head/lang/expect: . files
Message-ID:  <201601171238.u0HCcOQn087109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Sun Jan 17 12:38:24 2016
New Revision: 406307
URL: https://svnweb.freebsd.org/changeset/ports/406307

Log:
  lang/expect: install manpages along with sample tools
  
  PR:		194130
  Submitted by:	w.schwarzenfeld@utanet.at

Modified:
  head/lang/expect/Makefile
  head/lang/expect/files/patch-Makefile.in
  head/lang/expect/files/patch-configure
  head/lang/expect/files/patch-exp_main_sub.c
  head/lang/expect/pkg-plist

Modified: head/lang/expect/Makefile
==============================================================================
--- head/lang/expect/Makefile	Sun Jan 17 12:18:35 2016	(r406306)
+++ head/lang/expect/Makefile	Sun Jan 17 12:38:24 2016	(r406307)
@@ -3,7 +3,7 @@
 
 PORTNAME=	expect
 PORTVERSION=	5.45
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang tcl tk
 MASTER_SITES=	SF/expect/Expect/${PORTVERSION}
 DISTNAME=	${PORTNAME}${PORTVERSION}

Modified: head/lang/expect/files/patch-Makefile.in
==============================================================================
--- head/lang/expect/files/patch-Makefile.in	Sun Jan 17 12:18:35 2016	(r406306)
+++ head/lang/expect/files/patch-Makefile.in	Sun Jan 17 12:38:24 2016	(r406307)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2010-09-30 19:14:07.000000000 +0200
-+++ Makefile.in	2014-02-28 12:00:40.000000000 +0100
-@@ -236,10 +236,10 @@
+--- Makefile.in.orig	2010-09-30 17:14:07 UTC
++++ Makefile.in
+@@ -236,10 +236,10 @@ install-libraries: libraries $(SCRIPTS)
  	    $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \
  	done;
  # install standalone scripts and their man pages, if requested
@@ -13,3 +13,12 @@
  	    rm -f $$i ; \
  	  else true; fi ; \
  	done
+@@ -259,7 +259,7 @@ install-doc: doc
+ 	$(INSTALL_DATA) $(srcdir)/libexpect.man $(DESTDIR)$(mandir)/man3/libexpect.3
+ 	-for i in $(SCRIPT_MANPAGE_LIST) ; do \
+ 	  if [ -f $(srcdir)/example/$$i.man ] ; then \
+-	    $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(mandir)/man1/$$i.1 ; \
++	    $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(datadir)/$$i.1 ; \
+ 	  else true; fi ; \
+ 	done
+ 

Modified: head/lang/expect/files/patch-configure
==============================================================================
--- head/lang/expect/files/patch-configure	Sun Jan 17 12:18:35 2016	(r406306)
+++ head/lang/expect/files/patch-configure	Sun Jan 17 12:38:24 2016	(r406307)
@@ -1,6 +1,6 @@
---- configure.orig	2010-09-16 22:46:47.000000000 +0200
-+++ configure	2014-02-21 14:43:41.000000000 +0100
-@@ -8103,7 +8103,7 @@
+--- configure.orig	2010-09-16 20:46:47 UTC
++++ configure
+@@ -8103,7 +8103,7 @@ fi
  	    # This configuration from FreeBSD Ports.
  	    SHLIB_CFLAGS="-fPIC"
  	    SHLIB_LD="${CC} -shared"
@@ -9,7 +9,7 @@
  	    SHLIB_SUFFIX=".so"
  	    LDFLAGS=""
  	    if test $doRpath = yes; then
-@@ -8123,7 +8123,7 @@
+@@ -8123,7 +8123,7 @@ fi
  	    # Version numbers are dot-stripped by system policy.
  	    TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
  	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
@@ -18,7 +18,7 @@
  	    TCL_LIB_VERSIONS_OK=nodots
  	    ;;
  	Darwin-*)
-@@ -16349,9 +16349,9 @@
+@@ -16349,9 +16349,9 @@ rm -f conftest*
  	    if test x"${TK_BIN_DIR}" != x ; then
  		SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \"`${CYGPATH} ${TK_BIN_DIR}/${TK_STUB_LIB_FILE}`\""
  	    fi
@@ -30,7 +30,7 @@
  	fi
  	# Some packages build their own stubs libraries
  	eval eval "PKG_STUB_LIB_FILE=${PACKAGE_NAME}stub${UNSHARED_LIB_SUFFIX}"
-@@ -16368,10 +16368,10 @@
+@@ -16368,10 +16368,10 @@ rm -f conftest*
  	    if test x"${TK_BIN_DIR}" != x ; then
  		SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${TK_STUB_LIB_SPEC}"
  	    fi

Modified: head/lang/expect/files/patch-exp_main_sub.c
==============================================================================
--- head/lang/expect/files/patch-exp_main_sub.c	Sun Jan 17 12:18:35 2016	(r406306)
+++ head/lang/expect/files/patch-exp_main_sub.c	Sun Jan 17 12:38:24 2016	(r406307)
@@ -1,6 +1,6 @@
---- exp_main_sub.c	2002/08/24 08:04:43	1.1
-+++ exp_main_sub.c	2002/08/24 08:15:33
-@@ -593,6 +593,9 @@
+--- exp_main_sub.c.orig	2010-08-27 22:01:15 UTC
++++ exp_main_sub.c
+@@ -672,6 +672,9 @@ char **argv;
  	char *args;		/* ptr to string-rep of all args */
  	char *debug_init;
  
@@ -10,7 +10,7 @@
  	exp_argv0 = argv[0];
  
  #ifdef TCL_DEBUGGER
-@@ -768,18 +771,23 @@
+@@ -853,18 +856,23 @@ char **argv;
  	expDiagLog("set argc %s\r\n",argc_rep);
  
  	if (exp_cmdfilename) {

Modified: head/lang/expect/pkg-plist
==============================================================================
--- head/lang/expect/pkg-plist	Sun Jan 17 12:18:35 2016	(r406306)
+++ head/lang/expect/pkg-plist	Sun Jan 17 12:38:24 2016	(r406307)
@@ -3,41 +3,41 @@ include/expect.h
 include/expect_comm.h
 include/expect_tcl.h
 include/tcldbg.h
+lib/expect%%EXPECT_VER%%/libexpect%%LIBEXPECT_VER%%.so
+lib/expect%%EXPECT_VER%%/pkgIndex.tcl
+lib/libexpect.so
+lib/libexpect.so.1
+man/man1/expect.1.gz
+man/man3/libexpect.3.gz
 %%DATADIR%%/autoexpect
+%%DATADIR%%/autoexpect.1
 %%DATADIR%%/autopasswd
 %%DATADIR%%/cryptdir
+%%DATADIR%%/cryptdir.1
 %%DATADIR%%/decryptdir
+%%DATADIR%%/decryptdir.1
 %%DATADIR%%/dislocate
+%%DATADIR%%/dislocate.1
 %%DATADIR%%/ftp-rfc
 %%DATADIR%%/kibitz
+%%DATADIR%%/kibitz.1
 %%DATADIR%%/lpunlock
 %%DATADIR%%/mkpasswd
+%%DATADIR%%/mkpasswd.1
 %%DATADIR%%/multixterm
+%%DATADIR%%/multixterm.1
 %%DATADIR%%/passmass
+%%DATADIR%%/passmass.1
 %%DATADIR%%/rftp
 %%DATADIR%%/rlogin-cwd
 %%DATADIR%%/timed-read
 %%DATADIR%%/timed-run
 %%DATADIR%%/tknewsbiff
+%%DATADIR%%/tknewsbiff.1
 %%DATADIR%%/tkpasswd
 %%DATADIR%%/unbuffer
+%%DATADIR%%/unbuffer.1
 %%DATADIR%%/weather
 %%DATADIR%%/xkibitz
+%%DATADIR%%/xkibitz.1
 %%DATADIR%%/xpstat
-man/man1/autoexpect.1.gz
-man/man1/cryptdir.1.gz
-man/man1/decryptdir.1.gz
-man/man1/dislocate.1.gz
-man/man1/expect.1.gz
-man/man1/kibitz.1.gz
-man/man1/mkpasswd.1.gz
-man/man1/multixterm.1.gz
-man/man1/passmass.1.gz
-man/man1/tknewsbiff.1.gz
-man/man1/unbuffer.1.gz
-man/man1/xkibitz.1.gz
-man/man3/libexpect.3.gz
-lib/expect%%EXPECT_VER%%/pkgIndex.tcl
-lib/expect%%EXPECT_VER%%/libexpect%%LIBEXPECT_VER%%.so
-lib/libexpect.so.1
-lib/libexpect.so



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