Update to newer Tcl layout, port Makefile cleanup.
ok landry@, sebastia@
This commit is contained in:
parent
9b2269f247
commit
1cca71c289
@ -1,15 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2010/10/24 21:06:28 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2011/01/05 17:12:23 stu Exp $
|
||||
|
||||
COMMENT = learn Tcl interactively
|
||||
COMMENT = learn Tcl interactively
|
||||
|
||||
DISTNAME = tcltutor-30b2
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = lang lang/tcl
|
||||
|
||||
HOMEPAGE = http://www.msen.com/~clif/TclTutor.html
|
||||
|
||||
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
||||
DISTNAME = tcltutor-30b2
|
||||
REVISION = 2
|
||||
CATEGORIES = lang lang/tcl
|
||||
HOMEPAGE = http://www.msen.com/~clif/TclTutor.html
|
||||
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
||||
|
||||
# ISC
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
@ -17,37 +14,32 @@ PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = http://www.msen.com/~clif/
|
||||
MASTER_SITES = http://www.msen.com/~clif/
|
||||
DISTFILES = tcltutor3_0b2.tgz
|
||||
MODULES = x11/tk
|
||||
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
|
||||
NO_BUILD = Yes
|
||||
NO_REGRESS = Yes
|
||||
WRKDIST = ${WRKDIR}/TclTutor
|
||||
PKG_ARCH = *
|
||||
SUBST_VARS += TT_LIB_DIR TT_LSN_DIR
|
||||
|
||||
DISTFILES = tcltutor3_0b2.tgz
|
||||
|
||||
MODULES = x11/tk
|
||||
|
||||
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_REGRESS = Yes
|
||||
|
||||
WRKDIST = ${WRKDIR}/TclTutor
|
||||
|
||||
TT_LIB_DIR = ${PREFIX}/lib/tcltutor
|
||||
TT_LSN_DIR = ${PREFIX}/share/doc/tcltutor
|
||||
|
||||
SUBST_VARS = TT_LIB_DIR TT_LSN_DIR
|
||||
TT_LIB_DIR = ${PREFIX}/libdata/tcltutor
|
||||
TT_LSN_DIR = ${PREFIX}/share/doc/tcltutor
|
||||
|
||||
do-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/TclTutor.tcl
|
||||
perl -pi \
|
||||
-e ';$$. == 3 && s!exec wish.*$$!exec wish${MODTK_VERSION} "\$$0" \$${1+"\$$@"}!' \
|
||||
${WRKSRC}/TclTutor.tcl
|
||||
@${SUBST_CMD} ${WRKSRC}/TclTutor.tcl
|
||||
@${MODTCL_WISH_ADJ} ${WRKSRC}/TclTutor.tcl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/TclTutor.tcl ${PREFIX}/bin/tcltutor
|
||||
${INSTALL_DATA_DIR} ${TT_LIB_DIR}
|
||||
.for i in NOTICE README balloon.tcl htmllib.tcl images.tcl options.tcl simpleTop.tcl
|
||||
.for i in balloon.tcl htmllib.tcl images.tcl options.tcl simpleTop.tcl
|
||||
${INSTALL_DATA} ${WRKSRC}/$i ${TT_LIB_DIR}
|
||||
.endfor
|
||||
${INSTALL_DATA_DIR} ${TT_LSN_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/NOTICE ${TT_LSN_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${TT_LSN_DIR}
|
||||
.for i in Tcl_English Tcl_Portuguese
|
||||
${INSTALL_DATA_DIR} ${TT_LSN_DIR}/$i
|
||||
. for j in lsn cfg html
|
||||
|
@ -1,14 +1,14 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/10/21 21:49:46 steven Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/01/05 17:12:23 stu Exp $
|
||||
bin/tcltutor
|
||||
lib/tcltutor/
|
||||
lib/tcltutor/NOTICE
|
||||
lib/tcltutor/README
|
||||
lib/tcltutor/balloon.tcl
|
||||
lib/tcltutor/htmllib.tcl
|
||||
lib/tcltutor/images.tcl
|
||||
lib/tcltutor/options.tcl
|
||||
lib/tcltutor/simpleTop.tcl
|
||||
libdata/tcltutor/
|
||||
libdata/tcltutor/balloon.tcl
|
||||
libdata/tcltutor/htmllib.tcl
|
||||
libdata/tcltutor/images.tcl
|
||||
libdata/tcltutor/options.tcl
|
||||
libdata/tcltutor/simpleTop.tcl
|
||||
share/doc/tcltutor/
|
||||
share/doc/tcltutor/NOTICE
|
||||
share/doc/tcltutor/README
|
||||
share/doc/tcltutor/Tcl_English/
|
||||
share/doc/tcltutor/Tcl_English/Tcl_English.cfg
|
||||
share/doc/tcltutor/Tcl_English/Tcl_English0.lsn
|
||||
|
Loading…
x
Reference in New Issue
Block a user