2010-11-04 13:51:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/11/04 17:51:46 jasper Exp $
|
2004-01-28 22:27:57 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= Visual Tcl development environment
|
2004-01-28 22:27:57 -05:00
|
|
|
|
2009-04-16 18:15:46 -04:00
|
|
|
DISTNAME= vtcl-1.6.1a1
|
2010-11-04 13:51:46 -04:00
|
|
|
REVISION= 0
|
2004-01-28 22:27:57 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://vtcl.sourceforge.net/
|
|
|
|
|
2009-04-16 18:15:46 -04:00
|
|
|
# GPLv2+
|
2004-01-28 22:27:57 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vtcl/}
|
|
|
|
|
2009-04-16 18:15:46 -04:00
|
|
|
MODTCL_VERSION= 8.4
|
|
|
|
MODTK_VERSION= 8.4
|
|
|
|
MODULES= x11/tk
|
2010-11-04 13:51:46 -04:00
|
|
|
NO_BUILD= Yes
|
2009-04-16 18:15:46 -04:00
|
|
|
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@cd ${WRKSRC}; perl -i -pe 's/\r$$//' `find . -type f`
|
2004-01-28 22:27:57 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/vtcl
|
2005-05-12 15:04:27 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vtcl
|
2004-01-28 22:27:57 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vtcl
|
|
|
|
cp -R ${WRKSRC}/vtcl.tcl ${WRKSRC}/images ${WRKSRC}/lib \
|
|
|
|
${WRKSRC}/demo ${PREFIX}/lib/vtcl
|
2005-05-12 15:04:27 -04:00
|
|
|
cp -R ${WRKSRC}/sample ${PREFIX}/share/examples/vtcl
|
2004-01-28 22:27:57 -05:00
|
|
|
cp -R ${WRKSRC}/doc ${PREFIX}/share/doc/vtcl
|
2010-11-04 13:51:46 -04:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/vtcl ${WRKDIST}/vtcl
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/vtcl ${PREFIX}/bin
|
2004-01-28 22:27:57 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|