aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-02 16:27:35 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-02 16:27:35 +0000
commitf5a989d8ab2f872af622653ad5d6db8162ac8d7d (patch)
tree099b408ecda64e3672071b3a8d7dbfdedf56d962 /textproc
parentdcbd60b39bbddecb3bcc23da7ab219c9b0b0a772 (diff)
downloadports-f5a989d8ab2f872af622653ad5d6db8162ac8d7d.tar.gz
ports-f5a989d8ab2f872af622653ad5d6db8162ac8d7d.zip
Stage support
PR: ports/186323 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=342331
Diffstat (limited to 'textproc')
-rw-r--r--textproc/tex2im/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/textproc/tex2im/Makefile b/textproc/tex2im/Makefile
index 3243b46d4bb1..168d472f0a3c 100644
--- a/textproc/tex2im/Makefile
+++ b/textproc/tex2im/Makefile
@@ -20,15 +20,13 @@ PORTEXAMPLES= example1.png example1.tex example2.png example2.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>