aboutsummaryrefslogtreecommitdiffstats
path: root/devel/vtcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/vtcl/Makefile')
-rw-r--r--devel/vtcl/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/devel/vtcl/Makefile b/devel/vtcl/Makefile
index 0a3be2e0960d..8348152d4751 100644
--- a/devel/vtcl/Makefile
+++ b/devel/vtcl/Makefile
@@ -16,22 +16,25 @@ RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
NO_BUILD= yes
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/vt.tcl
+
do-install:
- @ ${MKDIR} ${PREFIX}/lib/vtcl/images
- @ ${MKDIR} ${PREFIX}/lib/vtcl/images/edit
- @ ${MKDIR} ${PREFIX}/lib/vtcl/lib
- @ ${MKDIR} ${PREFIX}/share/doc/vtcl
- @ ${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${PREFIX}/bin
- @ ${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${PREFIX}/share/doc/vtcl
+ @${MKDIR} ${PREFIX}/lib/vtcl/images
+ @${MKDIR} ${PREFIX}/lib/vtcl/images/edit
+ @${MKDIR} ${PREFIX}/lib/vtcl/lib
+ @${MKDIR} ${PREFIX}/share/doc/vtcl
+ ${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${PREFIX}/share/doc/vtcl
.for data in Announce ChangeLog README vt.tcl
- @ ${INSTALL_DATA} ${WRKSRC}/${data} ${PREFIX}/lib/vtcl
+ ${INSTALL_DATA} ${WRKSRC}/${data} ${PREFIX}/lib/vtcl
.endfor
.for sufx in gif ppm xbm xpm
- @ ${INSTALL_DATA} ${WRKSRC}/images/*.${sufx} ${PREFIX}/lib/vtcl/images
+ ${INSTALL_DATA} ${WRKSRC}/images/*.${sufx} ${PREFIX}/lib/vtcl/images
.endfor
- @ ${INSTALL_DATA} ${WRKSRC}/images/edit/*.gif ${PREFIX}/lib/vtcl/images/edit
+ ${INSTALL_DATA} ${WRKSRC}/images/edit/*.gif ${PREFIX}/lib/vtcl/images/edit
.for sufx in sh tcl
- @ ${INSTALL_DATA} ${WRKSRC}/lib/*.${sufx} ${PREFIX}/lib/vtcl/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.${sufx} ${PREFIX}/lib/vtcl/lib
.endfor
.include <bsd.port.mk>