Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 07:37:20 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342639 - head/databases/freetds
Message-ID:  <201402050737.s157bKpj006962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Feb  5 07:37:19 2014
New Revision: 342639
URL: http://svnweb.freebsd.org/changeset/ports/342639
QAT: https://qat.redports.org/buildarchive/r342639/

Log:
  - Stage support

Modified:
  head/databases/freetds/Makefile
  head/databases/freetds/pkg-plist

Modified: head/databases/freetds/Makefile
==============================================================================
--- head/databases/freetds/Makefile	Wed Feb  5 07:37:02 2014	(r342638)
+++ head/databases/freetds/Makefile	Wed Feb  5 07:37:19 2014	(r342639)
@@ -25,8 +25,6 @@ USE_LDCONFIG=	yes
 
 PORTDOCS=	*
 
-MAN1=		datacopy.1 freebcp.1 tsql.1 bsqldb.1 defncopy.1
-
 OPTIONS_DEFINE=	OPENSSL GNUTLS MSDBLIB DOCS
 OPTIONS_RADIO=	ODBC
 OPTIONS_RADIO_ODBC=	IODBC UNIXODBC
@@ -81,12 +79,10 @@ post-patch:
 		 s| common.h||g'
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${DOCSDIR}
-	@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc ${DOCSDIR}
-.endif
-	@${MKDIR} ${PREFIX}/etc/freetds
-	@${INSTALL_DATA} ${WRKSRC}/interfaces ${PREFIX}/etc/freetds/interfaces.dist
+	@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/freetds
+	@${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${PREFIX}/etc/freetds/interfaces.dist
 	@${ECHO_CMD} "Sample configuration files have been installed in ${PREFIX}/etc"
 	@${ECHO_CMD} "You should edit them and remove the .dist-suffix from their names"
 

Modified: head/databases/freetds/pkg-plist
==============================================================================
--- head/databases/freetds/pkg-plist	Wed Feb  5 07:37:02 2014	(r342638)
+++ head/databases/freetds/pkg-plist	Wed Feb  5 07:37:19 2014	(r342639)
@@ -38,6 +38,11 @@ lib/libtdssrv.a
 lib/libtdssrv.la
 lib/libtdssrv.so
 lib/libtdssrv.so.2
+man/man1/bsqldb.1.gz
+man/man1/datacopy.1.gz
+man/man1/defncopy.1.gz
+man/man1/freebcp.1.gz
+man/man1/tsql.1.gz
 %%ODBC%%lib/libtdsodbc.so
 %%ODBC%%lib/libtdsodbc.so.0
 %%ODBC%%lib/libtdsodbc.la



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