1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/devel/vtcl/Makefile
Vanilla I. Shu 82b0ca6cd6 Upgrade to 1.6.0a1, use tk83 now,
and add WWW to pkg-desc.
2002-02-27 06:35:31 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: vtcl
# Date Created: 29 May 1997
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $FreeBSD$
#
PORTNAME= vtcl
PORTVERSION= 1.6.0a1
CATEGORIES= devel tk83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= vanilla@FreeBSD.org
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
HAS_CONFIGURE= yes
NO_BUILD= yes
pre-configure:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/vtcl
.for data in ChangeLog LICENSE README vtcl.tcl vtsetup.tcl
${INSTALL_DATA} ${WRKSRC}/${data} ${PREFIX}/lib/vtcl
.endfor
@${MKDIR} ${PREFIX}/lib/vtcl/images
.for sufx in gif ppm xbm xpm
${INSTALL_DATA} ${WRKSRC}/images/*.${sufx} ${PREFIX}/lib/vtcl/images
.endfor
@${MKDIR} ${PREFIX}/lib/vtcl/images/edit
${INSTALL_DATA} ${WRKSRC}/images/edit/*.gif ${PREFIX}/lib/vtcl/images/edit
@${MKDIR} ${PREFIX}/lib/vtcl/lib
${CP} -r ${WRKSRC}/lib/* ${PREFIX}/lib/vtcl/lib
@${MKDIR} ${PREFIX}/share/doc/vtcl
${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${PREFIX}/share/doc/vtcl
.include <bsd.port.mk>