1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Use TCL/TK84

- Pass maintainership to submitter

PR:             110423
Submitted by:   Martin Tournoij <carpetsmoker@xs4all.nl>
This commit is contained in:
Martin Wilke 2007-03-21 09:59:09 +00:00
parent 265fd1e6ab
commit a9b29d7702
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187859
2 changed files with 20 additions and 22 deletions

View File

@ -5,21 +5,30 @@
# $FreeBSD$
#
PORTNAME= cost
PORTVERSION= 2.2p1
CATEGORIES= textproc tk82
MASTER_SITES= http://www.flightlab.com/~joe/cost/
PORTNAME= cost
PORTVERSION= 2.2p1
PORTREVISION= 1
CATEGORIES= textproc tcl84
MASTER_SITES= http://www.flightlab.com/~joe/cost/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= SGML/XML application programming tool
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
USE_TCL= yes
USE_TCL_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-docdir=${PREFIX}/share/doc/cost --with-charmaps
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC" TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.4"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.2 \
--with-docdir=${PREFIX}/share/doc/cost --with-charmaps
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC" TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.2"
post-patch:
@${REINPLACE_CMD} -e 's|TCL_SRC_DIR%g|TCL_INCLUDE_SPEC%g|' \
${WRKSRC}/configure
post-configure:
@${REINPLACE_CMD} -e 's|-I$$(TCL_SRC_DIR)/generic|$$(TCL_SRC_DIR)|' \
${WRKSRC}/Makefile
do-install:
${MKDIR} ${PREFIX}/lib/cost2.2

View File

@ -1,11 +0,0 @@
--- configure.orig Mon Jul 19 00:36:25 1999
+++ configure Tue Nov 2 07:00:46 2004
@@ -1174,7 +1174,7 @@
s%@TCL_SHLIB_LD@%$TCL_SHLIB_LD%g
s%@TCL_SHLIB_LD_LIBS@%$TCL_SHLIB_LD_LIBS%g
s%@TCL_SHLIB_SUFFIX@%$TCL_SHLIB_SUFFIX%g
-s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
+s%@TCL_SRC_DIR@%$TCL_INCLUDE_SPEC%g
s%@TCL_PREFIX@%$TCL_PREFIX%g
s%@TCL_EXEC_PREFIX@%$TCL_EXEC_PREFIX%g
s%@TCL_LD_SEARCH_FLAGS@%$TCL_LD_SEARCH_FLAGS%g