aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-02-03 00:27:35 +0800
committerpawel <pawel@FreeBSD.org>2014-02-03 00:27:35 +0800
commitfb85313aebaa5d3fc439b72cc47a0bc0f3d1f5d9 (patch)
tree099b408ecda64e3672071b3a8d7dbfdedf56d962 /textproc
parent94cd24537afde5a91789d5f5d8c0f96e51c3b297 (diff)
downloadfreebsd-ports-gnome-fb85313aebaa5d3fc439b72cc47a0bc0f3d1f5d9.tar.gz
freebsd-ports-gnome-fb85313aebaa5d3fc439b72cc47a0bc0f3d1f5d9.tar.zst
freebsd-ports-gnome-fb85313aebaa5d3fc439b72cc47a0bc0f3d1f5d9.zip
Stage support
PR: ports/186323 Submitted by: maintainer
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>