diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
commit | 75802943a41a8d04904b4f8f73577c1e1f41bd19 (patch) | |
tree | cdb15359f6b17edd36ab0ef3a40572e8e1afb2d9 /devel/vtcl/Makefile | |
parent | 8ec81ff63c63edeff820bab082cf56a6e9155929 (diff) | |
download | freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.gz freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.zst freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'devel/vtcl/Makefile')
-rw-r--r-- | devel/vtcl/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/devel/vtcl/Makefile b/devel/vtcl/Makefile index 0a3be2e0960..8348152d475 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> |