svn commit: r338764 - head/x11/fbdesk

Antoine Brodin antoine at FreeBSD.org
Sun Jan 5 13:11:52 UTC 2014


Author: antoine
Date: Sun Jan  5 13:11:52 2014
New Revision: 338764
URL: http://svnweb.freebsd.org/changeset/ports/338764

Log:
  Stage support

Modified:
  head/x11/fbdesk/Makefile

Modified: head/x11/fbdesk/Makefile
==============================================================================
--- head/x11/fbdesk/Makefile	Sun Jan  5 13:05:56 2014	(r338763)
+++ head/x11/fbdesk/Makefile	Sun Jan  5 13:11:52 2014	(r338764)
@@ -26,7 +26,6 @@ GNU_CONFIGURE=	yes
 PORTDOCS=	ChangeLog INSTALL README
 PLIST_FILES=	bin/fbdesk
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MIMLIB2}
@@ -37,10 +36,8 @@ CONFIGURE_ARGS+=	--disable-imlib2
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list