- switch to pkg-readmes

ok Stuart Cassoff (MAINTAINER)
This commit is contained in:
jasper 2010-11-15 18:26:38 +00:00
parent 3979aaa80a
commit 5aa6807966
3 changed files with 20 additions and 26 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2010/10/18 21:50:39 sthen Exp $ # $OpenBSD: Makefile,v 1.13 2010/11/15 18:26:38 jasper Exp $
COMMENT = Tool Command Language COMMENT = Tool Command Language
DISTNAME = tcl8.5.8 DISTNAME = tcl8.5.8
PKGNAME = tcl-8.5.8p0 PKGNAME = tcl-8.5.8
REVISION = 1
SHARED_LIBS = tcl85 0.5 SHARED_LIBS = tcl85 0.5
CATEGORIES = lang lang/tcl CATEGORIES = lang lang/tcl
HOMEPAGE = http://www.tcl.tk/ HOMEPAGE = http://www.tcl.tk/
@ -40,7 +41,7 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--sysconfdir="${SYSCONFDIR}" \ --sysconfdir="${SYSCONFDIR}" \
--enable-man-symlinks \ --enable-man-symlinks \
--disable-rpath --disable-rpath
USE_GROFF = Yes USE_GROFF = Yes
CONFIGURE_ENV += SHLIB_VERSION="${LIBtcl85_VERSION}" CONFIGURE_ENV += SHLIB_VERSION="${LIBtcl85_VERSION}"
@ -65,13 +66,7 @@ DOCDIR = ${PREFIX}/share/doc/tcltk8.5
pre-regress: pre-regress:
@mkdir -p ${TESTHOME} @mkdir -p ${TESTHOME}
pre-configure:
cp ${FILESDIR}/README.OpenBSD ${WRKBUILD}
${SUBST_CMD} ${WRKBUILD}/README.OpenBSD
post-install: post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD ${DOCDIR}
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax" .if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
ln -s libtcl85.a ${PREFIX}/lib/libtcl85_pic.a ln -s libtcl85.a ${PREFIX}/lib/libtcl85_pic.a
ln -s libtclstub85.a ${PREFIX}/lib/libtclstub85_pic.a ln -s libtclstub85.a ${PREFIX}/lib/libtclstub85_pic.a

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2009/11/21 02:50:23 sthen Exp $ @comment $OpenBSD: PLIST,v 1.6 2010/11/15 18:26:39 jasper Exp $
@option no-default-conflict @option no-default-conflict
@conflict tcl->=8.5,<8.6 @conflict tcl->=8.5,<8.6
%%SHARED%% %%SHARED%%
@ -959,5 +959,4 @@ lib/tcl8/8.4/platform/shell-1.1.4.tm
lib/tcl8/8.5/ lib/tcl8/8.5/
lib/tcl8/8.5/msgcat-1.4.2.tm lib/tcl8/8.5/msgcat-1.4.2.tm
lib/tcl8/8.5/tcltest-2.3.2.tm lib/tcl8/8.5/tcltest-2.3.2.tm
share/doc/tcltk8.5/ share/doc/pkg-readmes/${FULLPKGNAME}
share/doc/tcltk8.5/README.OpenBSD

View File

@ -1,4 +1,4 @@
# $ OpenBSD$ # $OpenBSD: README,v 1.1 2010/11/15 18:26:39 jasper Exp $
cat << "EOTEXT" > /dev/null cat << "EOTEXT" > /dev/null
@ -28,36 +28,36 @@ Files / Directories
Configuration files Configuration files
tclConfig.sh, tkConfig.sh tclConfig.sh, tkConfig.sh
normally in normally in
${PREFIX}/lib ${TRUEPREFIX}/lib
now in now in
${PREFIX}/lib/tcl8.5, ${PREFIX}/lib/tk8.5 ${TRUEPREFIX}/lib/tcl8.5, ${TRUEPREFIX}/lib/tk8.5
Include files ('public' - see below) Include files ('public' - see below)
*.h *.h
normally in normally in
${PREFIX}/include ${TRUEPREFIX}/include
now in now in
${PREFIX}/include/tcl8.5, ${PREFIX}/include/tk8.5 ${TRUEPREFIX}/include/tcl8.5, ${TRUEPREFIX}/include/tk8.5
Manual pages Manual pages
*.1, *.3, *.n *.1, *.3, *.n
normally in normally in
${PREFIX}/man ${TRUEPREFIX}/man
now in now in
${PREFIX}/lib/tcl8.5/man, ${PREFIX}/lib/tk8.5/man ${TRUEPREFIX}/lib/tcl8.5/man, ${TRUEPREFIX}/lib/tk8.5/man
Demos Demos
*.tcl, * *.tcl, *
normally in normally in
${PREFIX}/lib/tk8.5/demos ${TRUEPREFIX}/lib/tk8.5/demos
now in now in
${PREFIX}/share/examples/tk8.5 ${TRUEPREFIX}/share/examples/tk8.5
Additional Header Files Additional Header Files
Additional (what Tcl/Tk calls 'private') include (.h) files are installed Additional (what Tcl/Tk calls 'private') include (.h) files are installed
under ${PREFIX}/include/tcl8.5 and ${PREFIX}/include/tk8.5 in a under ${TRUEPREFIX}/include/tcl8.5 and ${TRUEPREFIX}/include/tk8.5 in a
directory structure which mimics the Tcl and Tk source code directory directory structure which mimics the Tcl and Tk source code directory
layouts. Some software that compiles and links against Tcl or Tk layouts. Some software that compiles and links against Tcl or Tk
requires these 'private' headers and therefore assumes that the Tcl or Tk requires these 'private' headers and therefore assumes that the Tcl or Tk
@ -117,8 +117,8 @@ cat << "EOPATCH" | patch -p0 -s -o - /etc/man.conf
_whatdb /usr/share/man/whatis.db _whatdb /usr/share/man/whatis.db
_whatdb /usr/local/man/whatis.db _whatdb /usr/local/man/whatis.db
_whatdb /usr/X11R6/man/whatis.db _whatdb /usr/X11R6/man/whatis.db
+_whatdb /usr/local/lib/tcl8.5/man/whatis.db +_whatdb ${TRUEPREFIX}/lib/tcl8.5/man/whatis.db
+_whatdb /usr/local/lib/tk8.5/man/whatis.db +_whatdb ${TRUEPREFIX}/lib/tk8.5/man/whatis.db
# Subdirectories for paths ending in '/', IN SEARCH ORDER. # Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f catn mann _subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f catn mann
@ -133,8 +133,8 @@ cat << "EOPATCH" | patch -p0 -s -o - /etc/man.conf
X11 /usr/X11R6/man/ X11 /usr/X11R6/man/
X11R6 /usr/X11R6/man/ X11R6 /usr/X11R6/man/
local /usr/local/man/ local /usr/local/man/
+tcl /usr/local/lib/tcl8.5/man/ +tcl ${TRUEPREFIX}/lib/tcl8.5/man/
+tk /usr/local/lib/tk8.5/man/ +tk ${TRUEPREFIX}/lib/tk8.5/man/
# Specific section/directory combinations. # Specific section/directory combinations.
1 /usr/{share,X11R6,local}/man/{cat,man}1 1 /usr/{share,X11R6,local}/man/{cat,man}1