svn commit: r346783 - head/sysutils/duply

Adam Weinberger adamw at FreeBSD.org
Sun Mar 2 17:07:22 UTC 2014


Author: adamw
Date: Sun Mar  2 17:07:21 2014
New Revision: 346783
URL: http://svnweb.freebsd.org/changeset/ports/346783
QAT: https://qat.redports.org/buildarchive/r346783/

Log:
  Stage support.

Modified:
  head/sysutils/duply/Makefile

Modified: head/sysutils/duply/Makefile
==============================================================================
--- head/sysutils/duply/Makefile	Sun Mar  2 16:35:37 2014	(r346782)
+++ head/sysutils/duply/Makefile	Sun Mar  2 17:07:21 2014	(r346783)
@@ -22,17 +22,14 @@ NO_BUILD=	yes
 PORTDOCS=	INSTALL.txt gpl-2.0.txt
 PLIST_FILES=	bin/duply
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
+	${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/duply ${PREFIX}/bin/duply
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/duply ${STAGEDIR}${PREFIX}/bin/duply
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .	for i in ${PORTDOCS}
-	  @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+	  ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .	endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list