svn commit: r306801 - head/databases/recutils
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Nov 1 13:43:28 UTC 2012
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>
More information about the svn-ports-all
mailing list