summaryrefslogtreecommitdiff
path: root/shells/tcshrc
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-09-10 16:56:50 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-09-10 16:56:50 +0000
commit59f64fda70b259c290599351ce71652f2721b4c5 (patch)
treefbb4db204f2b1dbc7606dbd98e9d89119375c614 /shells/tcshrc
parentUpdate to 5.5.7-10. [1] (diff)
Fixup tcsh_config to look in ${PREFIX}/share instead of /usr/share.
Pointed out by: demon
Diffstat (limited to 'shells/tcshrc')
-rw-r--r--shells/tcshrc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/shells/tcshrc/Makefile b/shells/tcshrc/Makefile
index 0cf3f602976d..642665275846 100644
--- a/shells/tcshrc/Makefile
+++ b/shells/tcshrc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tcshrc
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcshrc
@@ -14,10 +15,14 @@ MASTER_SITE_SUBDIR= tcshrc
MAINTAINER= seanc@FreeBSD.org
COMMENT= A set of configuration scripts for the TCSH shell
+USE_REINPLACE= YES
+
INSTALL_TARGET= systeminstall
MAKE_ARGS= BIN=${LOCALBASE}/bin SHARETCSHRC=${DATADIR}
-NO_BUILD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}
+do-build:
+ ${REINPLACE_CMD} -e 's#/usr/share#${PREFIX}/share#g' ${WRKSRC}/tcsh_config
+
.include <bsd.port.mk>