- apply better way to handle PKGMESSAGE

- unbreak this port

PR:		71738
Submitted by:	leeym
Approved by:	portmgr (marcus)
This commit is contained in:
Yen-Ming Lee 2004-09-16 05:59:43 +00:00
parent b179eaf8e2
commit 22ad984782
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118198
2 changed files with 8 additions and 4 deletions

View file

@ -19,7 +19,7 @@ COMMENT= The Toolkit for Conceptual Modeling, create diagrams/tables/trees
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE= ${WRKSRC}/pkg-message
USE_REINPLACE= yes
USE_MOTIF= yes
USE_BISON= yes
@ -36,7 +36,11 @@ post-patch:
@${CHMOD} 0644 ${WRKSRC}/lib/colorrgb.txt
@${REINPLACE_CMD} -e 's:gcc:g++:g' ${WRKSRC}/bin/makedepend.sh
post-build:
@${CP} pkg-message ${PKGMESSAGE}
@${REINPLACE_CMD} -e 's:%%LOCALBASE%%:${PREFIX}:g' ${PKGMESSAGE}
post-install:
@${REINPLACE_CMD} -e 's:/usr/local:${PREFIX}:g' ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
==================================================================
You need to set the environment variable TCM_HOME to
/usr/local/tcm for tcm to be able to start. You may also want to
add /usr/local/tcm/man in your manpath.config.
%%LOCALBASE%%/tcm for tcm to be able to start. You may also want to
add %%LOCALBASE%%/tcm/man in your manpath.config.
==================================================================