1997-05-30 17:57:27 +02:00
|
|
|
# New ports collection makefile for: vtcl
|
|
|
|
# Date Created: 29 May 1997
|
|
|
|
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-05-30 17:57:27 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:44:42 +02:00
|
|
|
PORTNAME= vtcl
|
2003-08-21 06:51:56 +02:00
|
|
|
PORTVERSION= 1.6.0
|
2003-02-17 08:02:19 +01:00
|
|
|
CATEGORIES= devel
|
2002-02-27 07:35:31 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1997-05-30 17:57:27 +02:00
|
|
|
|
2003-03-28 09:31:43 +01:00
|
|
|
MAINTAINER= mva@sysfault.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= An Application Development Environment For the TCL/TK language
|
1997-05-30 17:57:27 +02:00
|
|
|
|
2003-02-17 08:02:19 +01:00
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
1997-06-03 07:34:59 +02:00
|
|
|
|
2002-02-27 07:35:31 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2003-08-21 06:51:56 +02:00
|
|
|
CONFIGURE_ARGS= ${PREFIX}
|
1997-06-03 07:34:59 +02:00
|
|
|
NO_BUILD= yes
|
1997-05-30 17:57:27 +02:00
|
|
|
|
2003-11-15 21:37:04 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2002-02-27 07:35:31 +01:00
|
|
|
pre-configure:
|
2003-11-15 21:37:04 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure
|
2000-06-23 15:44:03 +02:00
|
|
|
|
1997-05-30 17:57:27 +02:00
|
|
|
do-install:
|
2000-06-23 15:44:03 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${PREFIX}/bin
|
2002-02-27 07:35:31 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/vtcl
|
2003-08-21 06:51:56 +02:00
|
|
|
.for data in ChangeLog LICENSE README vtcl.tcl
|
2000-06-23 15:44:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${data} ${PREFIX}/lib/vtcl
|
1997-05-30 17:57:27 +02:00
|
|
|
.endfor
|
2002-02-27 07:35:31 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/vtcl/images
|
1999-05-09 18:53:41 +02:00
|
|
|
.for sufx in gif ppm xbm xpm
|
2000-06-23 15:44:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/*.${sufx} ${PREFIX}/lib/vtcl/images
|
1997-05-30 17:57:27 +02:00
|
|
|
.endfor
|
2002-02-27 07:35:31 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/vtcl/images/edit
|
2000-06-23 15:44:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/edit/*.gif ${PREFIX}/lib/vtcl/images/edit
|
2002-02-27 07:35:31 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/vtcl/lib
|
|
|
|
${CP} -r ${WRKSRC}/lib/* ${PREFIX}/lib/vtcl/lib
|
2003-08-21 06:51:56 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/sample
|
|
|
|
${CP} -r ${WRKSRC}/sample/* ${EXAMPLESDIR}/sample
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/demo
|
|
|
|
${CP} -r ${WRKSRC}/demo/* ${EXAMPLESDIR}/demo
|
|
|
|
.endif
|
1997-05-30 17:57:27 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|