Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2012 13:43:27 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306801 - head/databases/recutils
Message-ID:  <201211011343.qA1DhRTE003003@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Nov  1 13:43:27 2012
New Revision: 306801
URL: http://svn.freebsd.org/changeset/ports/306801

Log:
  Install a few docs; omit port revision bump as this port was added for a
  private request just couple of hours ago and thus probably not installed
  in sufficient quantities to warrant it.
  
  Feature safe:	yes

Modified:
  head/databases/recutils/Makefile

Modified: head/databases/recutils/Makefile
==============================================================================
--- head/databases/recutils/Makefile	Thu Nov  1 13:22:07 2012	(r306800)
+++ head/databases/recutils/Makefile	Thu Nov  1 13:43:27 2012	(r306801)
@@ -11,7 +11,7 @@ COMMENT=	Tools and libraries to access h
 
 LICENSE=	GPLv3
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	NLS DOCS
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
@@ -19,6 +19,7 @@ USE_LDCONFIG=	yes
 INFO=		${PORTNAME}
 MAN1=		csv2rec.1 rec2csv.1 recdel.1 recfix.1 recfmt.1 recinf.1 \
 		recins.1 recsel.1 recset.1
+PORTDOCS=	ChangeLog NEWS README
 
 .include <bsd.port.options.mk>
 
@@ -30,4 +31,10 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>



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