Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 13:58:18 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342702 - head/textproc/txt2tags
Message-ID:  <201402051358.s15DwIoF061322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Feb  5 13:58:18 2014
New Revision: 342702
URL: http://svnweb.freebsd.org/changeset/ports/342702
QAT: https://qat.redports.org/buildarchive/r342702/

Log:
  - Stage support

Modified:
  head/textproc/txt2tags/Makefile

Modified: head/textproc/txt2tags/Makefile
==============================================================================
--- head/textproc/txt2tags/Makefile	Wed Feb  5 13:58:09 2014	(r342701)
+++ head/textproc/txt2tags/Makefile	Wed Feb  5 13:58:18 2014	(r342702)
@@ -16,26 +16,23 @@ NO_BUILD=	yes
 PORTDOCS=	ChangeLog README userguide.pdf
 SAMPLE_DIRS=	css img module
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/env python|/env python2|' \
 		${WRKSRC}/txt2tags
 	@${MV} ${WRKSRC}/doc/userguide.pdf ${WRKSRC}/
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${STAGEDIR}${PREFIX}/bin
 .for dir in ${SAMPLE_DIRS}
-	@${MKDIR} ${EXAMPLESDIR}/${dir}
-	${INSTALL_DATA} ${WRKSRC}/samples/${dir}/* ${EXAMPLESDIR}/${dir}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${dir}
+	${INSTALL_DATA} ${WRKSRC}/samples/${dir}/* ${STAGEDIR}${EXAMPLESDIR}/${dir}
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/samples/sample* ${EXAMPLESDIR}/
-	@${MKDIR} ${EXAMPLESDIR}/extras
-	${CP} -a ${WRKSRC}/extras/* ${EXAMPLESDIR}/extras
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/samples/sample* ${STAGEDIR}${EXAMPLESDIR}/
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/extras
+	${CP} -a ${WRKSRC}/extras/* ${STAGEDIR}${EXAMPLESDIR}/extras
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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