aboutsummaryrefslogtreecommitdiff
path: root/graphics/tcm
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-09-16 05:59:43 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-09-16 05:59:43 +0000
commit22ad9847825f3fbf1c370966a3737cca2399ce29 (patch)
tree43cf026aa997101226ae27794162ed74458662bb /graphics/tcm
parentb179eaf8e2881f359b8337bcc4d44ccf53dca354 (diff)
downloadports-22ad9847825f3fbf1c370966a3737cca2399ce29.tar.gz
ports-22ad9847825f3fbf1c370966a3737cca2399ce29.zip
Notes
Diffstat (limited to 'graphics/tcm')
-rw-r--r--graphics/tcm/Makefile8
-rw-r--r--graphics/tcm/pkg-message4
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/tcm/Makefile b/graphics/tcm/Makefile
index dc1b4e9e5b42..5db6bda9f4a9 100644
--- a/graphics/tcm/Makefile
+++ b/graphics/tcm/Makefile
@@ -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>
diff --git a/graphics/tcm/pkg-message b/graphics/tcm/pkg-message
index 39c97cdaf1ca..b9773a0c4bdb 100644
--- a/graphics/tcm/pkg-message
+++ b/graphics/tcm/pkg-message
@@ -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.
==================================================================