3a0f2e562e
PR: 21081 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: SpecTcl1.1
|
|
# Date created: Fri Oct 3 18:50:53 CEST 1997
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= SpecTcl
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel tk80
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/guitools/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= andreas@FreeBSD.org
|
|
|
|
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
|
|
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/specTcl ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/SpecTcl
|
|
${INSTALL_DATA} ${WRKSRC}/changes ${PREFIX}/SpecTcl
|
|
${INSTALL_DATA} ${WRKSRC}/license.terms ${PREFIX}/SpecTcl
|
|
${MKDIR} ${PREFIX}/SpecTcl/lib
|
|
${CP} -r ${WRKSRC}/SpecTcl/* ${PREFIX}/SpecTcl/lib
|
|
${MKDIR} ${PREFIX}/SpecTcl/demo
|
|
${CP} -r ${WRKSRC}/demo/* ${PREFIX}/SpecTcl/demo
|
|
${MKDIR} ${PREFIX}/SpecTcl/examples
|
|
${CP} -r ${WRKSRC}/examples/* ${PREFIX}/SpecTcl/examples
|
|
|
|
.include <bsd.port.mk>
|