mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- fix reference on tcl source, use TCL_INCLUDE_SPEC
- search dependecy in LOCALBASE, not in PREFIX - fix package with NOPORTDOCS - use DOCSDIR - make portlint happy
This commit is contained in:
parent
1816314216
commit
bdd5623bac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120629
@ -14,13 +14,12 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= SGML/XML application programming tool
|
||||
|
||||
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl82:patch
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS+= --with-tcl=${PREFIX}/lib/tcl8.2 \
|
||||
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.2 \
|
||||
--with-docdir=${PREFIX}/share/doc/cost --with-charmaps
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC" TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.2"
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/cost2.2
|
||||
@ -32,9 +31,10 @@ do-install:
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO} "===> Installing Cost documentation"
|
||||
@${MKDIR} ${PREFIX}/share/doc/cost && ${CHMOD} a+rx ${PREFIX}/share/doc/cost
|
||||
@cd ${WRKDIR}/${DISTNAME}/doc && ${INSTALL_MAN} manual.html manual.ps rtflib.html simple.html \
|
||||
${PREFIX}/share/doc/cost
|
||||
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
|
||||
@cd ${WRKDIR}/${DISTNAME}/doc && \
|
||||
${INSTALL_MAN} manual.html manual.ps rtflib.html simple.html \
|
||||
${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
textproc/cost/files/patch-configure
Normal file
11
textproc/cost/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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
|
@ -13,9 +13,9 @@ lib/cost2.2/textutil.tcl
|
||||
lib/cost2.2/winhelp-stylesheet.tcl
|
||||
lib/cost2.2/RTF.spec
|
||||
lib/cost2.2/EventHandler.itcl
|
||||
share/doc/cost/manual.html
|
||||
share/doc/cost/manual.ps
|
||||
share/doc/cost/rtflib.html
|
||||
share/doc/cost/simple.html
|
||||
@dirrm share/doc/cost
|
||||
%%PORTDOCS%%%%DOCSDIR%%/manual.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/manual.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/rtflib.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/simple.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm lib/cost2.2
|
||||
|
Loading…
Reference in New Issue
Block a user