svn commit: r342331 - head/textproc/tex2im

Pawel Pekala pawel at FreeBSD.org
Sun Feb 2 16:27:36 UTC 2014


Author: pawel
Date: Sun Feb  2 16:27:35 2014
New Revision: 342331
URL: http://svnweb.freebsd.org/changeset/ports/342331
QAT: https://qat.redports.org/buildarchive/r342331/

Log:
  Stage support
  
  PR:		ports/186323
  Submitted by:	maintainer

Modified:
  head/textproc/tex2im/Makefile

Modified: head/textproc/tex2im/Makefile
==============================================================================
--- head/textproc/tex2im/Makefile	Sun Feb  2 16:15:24 2014	(r342330)
+++ head/textproc/tex2im/Makefile	Sun Feb  2 16:27:35 2014	(r342331)
@@ -20,15 +20,13 @@ PORTEXAMPLES=	example1.png example1.tex 
 		example3.png example3.tex example4.png example4.tex \
 		fig_1.eps
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${PREFIX}/bin
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
+		${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list