Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 16:06:22 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333132 - head/sysutils/fpart
Message-ID:  <201311071606.rA7G6MHt051513@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Thu Nov  7 16:06:22 2013
New Revision: 333132
URL: http://svnweb.freebsd.org/changeset/ports/333132

Log:
  - Always copy documentation to stage dir
  - Remove useless inclusion of bsd.port.options.mk
  - Avoid .for loop to install documentation
  
  Submitted by:	danfe

Modified:
  head/sysutils/fpart/Makefile

Modified: head/sysutils/fpart/Makefile
==============================================================================
--- head/sysutils/fpart/Makefile	Thu Nov  7 16:04:46 2013	(r333131)
+++ head/sysutils/fpart/Makefile	Thu Nov  7 16:06:22 2013	(r333132)
@@ -18,14 +18,8 @@ CONFIGURE_ARGS=	--disable-embfts
 PLIST_FILES=	bin/fpart man/man1/fpart.1.gz
 PORTDOCS=	Changelog README TODO
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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