Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 16:27:35 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342331 - head/textproc/tex2im
Message-ID:  <201402021627.s12GRZcs025643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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