summaryrefslogtreecommitdiff
path: root/editors/nvi
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi')
-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"