42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2012/10/15 15:18:32 sthen Exp $
|
|
|
|
COMMENT= Visual Tcl development environment
|
|
|
|
DISTNAME= vtcl-1.6.1a1
|
|
REVISION= 1
|
|
CATEGORIES= devel
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
|
|
|
HOMEPAGE= http://vtcl.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vtcl/}
|
|
|
|
MODULES= x11/tk
|
|
NO_BUILD= Yes
|
|
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
|
|
|
|
pre-patch:
|
|
@cd ${WRKSRC}; perl -i -pe 's/\r$$//' `find . -type f`
|
|
|
|
do-install:
|
|
rm ${WRKSRC}/lib/propmgr.tcl.orig ${WRKSRC}/lib/tkcon.tcl.orig
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/vtcl
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vtcl
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vtcl
|
|
cp -R ${WRKSRC}/vtcl.tcl ${WRKSRC}/images ${WRKSRC}/lib \
|
|
${WRKSRC}/demo ${PREFIX}/lib/vtcl
|
|
cp -R ${WRKSRC}/sample ${PREFIX}/share/examples/vtcl
|
|
cp -R ${WRKSRC}/doc ${PREFIX}/share/doc/vtcl
|
|
${SUBST_CMD} -c ${FILESDIR}/vtcl ${WRKDIST}/vtcl
|
|
${INSTALL_SCRIPT} ${WRKDIST}/vtcl ${PREFIX}/bin
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|