summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorseb <seb>2002-02-07 12:39:12 +0000
committerseb <seb>2002-02-07 12:39:12 +0000
commit963d157f3230092d5726fa700ba2a105cb364c41 (patch)
treebe0ebb54ae9e22b0fbc874377434456bc46ed2a1 /editors
parent79fcd59c8589b8595c0fe73a5e92a2bfad59288f (diff)
downloadpkgsrc-963d157f3230092d5726fa700ba2a105cb364c41.tar.gz
Avoid MVs in $PREFIX at post-install stage by using
`--program-transform-name=...' (and not `--program-prefix=...' which triggers a sed lossage, fixed in -current as of 2002/01/14 it seems).
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile
index 704a916a5aa..fb2dedddaba 100644
--- a/editors/nvi/Makefile
+++ b/editors/nvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/01/13 10:35:20 aymeric Exp $
+# $NetBSD: Makefile,v 1.3 2002/02/07 12:39:12 seb Exp $
#
DISTNAME= nvi-1.81.5
@@ -13,6 +13,7 @@ COMMENT= Berkeley nvi with additional features
GNU_CONFIGURE= YES
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS+= --with-db3=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --program-transform-name='s,^,n,'
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/../dist/ltconfig
@@ -20,20 +21,5 @@ USE_BUILDLINK_ONLY= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
-# --program-prefix doesn't work because of a problem with sed
-post-install:
- cd ${PREFIX}/bin && \
- ${MV} vi nvi && \
- ${MV} ex nex && \
- ${MV} view nview
- cd ${PREFIX}/man/cat1 && \
- ${MV} vi.0 nvi.0 && \
- ${MV} ex.0 nex.0 && \
- ${MV} view.0 nview.0
- cd ${PREFIX}/man/man1 && \
- ${MV} vi.1 nvi.1 && \
- ${MV} ex.1 nex.1 && \
- ${MV} view.1 nview.1
-
.include "../../databases/db3/buildlink.mk"
.include "../../mk/bsd.pkg.mk"