summaryrefslogtreecommitdiff
path: root/editors/nvi/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2002-01-12 10:59:30 +0000
committerwiz <wiz>2002-01-12 10:59:30 +0000
commite5c365f5d81d62ff6bb455c79d7c78c0a5f5c42b (patch)
tree5602fc111c275529c6d68f5a2b4cc07acf635a2f /editors/nvi/Makefile
parent37c55de492c01528ce76b2eff75d92a13aed44af (diff)
downloadpkgsrc-e5c365f5d81d62ff6bb455c79d7c78c0a5f5c42b.tar.gz
Initial import of nvi 1.81.5.
Nvi is an implementation of the ex/vi text editor originally distributed as part of the Fourth Berkeley Software Distribution (4BSD), by the University of California, Berkeley. The source code to nvi is freely available, and nvi may be freely redistributed.
Diffstat (limited to 'editors/nvi/Makefile')
-rw-r--r--editors/nvi/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile
new file mode 100644
index 00000000000..28af5d4256c
--- /dev/null
+++ b/editors/nvi/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/12 10:59:30 wiz Exp $
+#
+
+DISTNAME= nvi-1.81.5
+CATEGORIES= editors
+MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= aymeric@netbsd.org
+HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/
+COMMENT= Berkeley nvi with additional features
+
+GNU_CONFIGURE= YES
+CONFIGURE_SCRIPT= ../dist/configure
+CONFIGURE_ARGS+= --with-db3=${BUILDLINK_DIR}
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/../dist/ltconfig
+
+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"