1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/tkinspect/Makefile

35 lines
1.0 KiB
Makefile

# Created by: Juergen Lock <nox@jelal.kn-bremen.de>
# $FreeBSD$
PORTNAME= tkinspect
PORTVERSION= 5.1.6p10
PORTREVISION= 1
CATEGORIES= devel tcl tk
MASTER_SITES= SF/tkcon/${PORTNAME}/${PORTVERSION}
MAINTAINER= nox@FreeBSD.org
COMMENT= A Tk program browser
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_STAGE= yes
# this would do an interactive install:
#do-install:
# (cd ${WRKSRC} && ./install.tcl)
post-patch:
(cd ${WRKSRC} && ${RM} *.orig)
do-build:
${REINPLACE_CMD} s%@tkinspect_library@%${PREFIX}/lib/tkinspect%g ${WRKSRC}/tkinspect.tcl
${RM} ${WRKSRC}/tkinspect.tcl.bak
do-install:
${MKDIR} ${PREFIX}/lib/tkinspect/stl-lite
${INSTALL_SCRIPT} ${WRKSRC}/tkinspect.tcl ${PREFIX}/bin/tkinspect
${INSTALL_DATA} `echo ${WRKSRC}/* |${SED} s%${WRKSRC}/stl-lite\ %%` ${PREFIX}/lib/tkinspect
${INSTALL_DATA} ${WRKSRC}/stl-lite/* ${PREFIX}/lib/tkinspect/stl-lite
(cd ${PREFIX}/lib/tkinspect && ${RM} README dot.tkinspect_init install.tcl sls.xbm stl-lite/COPYRIGHT tkinspect.tcl)
.include <bsd.port.mk>