From ff2fd52d0db24e88bb3a96a37df0207703e64bde Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Tue, 17 Jun 2008 13:20:34 +0000 Subject: [PATCH] Change to installing binaries with 'n' prefix as to not conflict with editors/2bsd-vi. It does, however, now conflict with editors/nvi-m17n. Remove dead MASTER_SITES. Remove unnecessary RELENG_4 hack. PR: ports/124547 Submitted by: Robert Wilson --- UPDATING | 8 ++++++++ editors/nvi-devel/Makefile | 27 +++++++++++---------------- editors/nvi-devel/pkg-plist | 6 +++--- 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/UPDATING b/UPDATING index 2562ce8fd35a..d9c1cbba797d 100644 --- a/UPDATING +++ b/UPDATING @@ -6,6 +6,14 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20080617: + AFFECTS: users of editors/nvi-devel + AUTHOR: Wesley Shields + + editors/nvi-devel has been changed to install nvi, nex, and nview as + to not conflict with editors/2bsd-vi. Please note the new names if + you use this port. + 20080616: AFFECTS: users of mail/dkim-milter AUTHOR: Hirohisa Yamaguchi diff --git a/editors/nvi-devel/Makefile b/editors/nvi-devel/Makefile index abb95618b924..805e89a337f9 100644 --- a/editors/nvi-devel/Makefile +++ b/editors/nvi-devel/Makefile @@ -7,12 +7,9 @@ PORTNAME= nvi PORTVERSION= 1.81.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= editors -MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/ \ - http://193.190.253.81/~skimo/nvi/devel/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= dd +MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/ MAINTAINER= ports@FreeBSD.org COMMENT= Development snapshot of the world-renown nvi editor @@ -20,25 +17,23 @@ COMMENT= Development snapshot of the world-renown nvi editor BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 +CONFLICTS= nvi-m17n-* + USE_BZIP2= yes WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes -CONFIGURE_ARGS+= --with-db-prefix=${LOCALBASE} +CONFIGURE_ARGS+= --with-db-prefix=${LOCALBASE} \ + --program-prefix=n CONFIGURE_SCRIPT= ../dist/configure -MAN1= ex.1 vi.1 view.1 +MAN1= nex.1 nvi.1 nview.1 -# XXX: nvi doesn't really need sys/select.h, but I don't think the -# build should break when it includes it (this happens on RELENG_4; -# sys/select.h is effectively empty on -current). -pre-configure: - @${CHMOD} +rwx ${WRKSRC}/${CONFIGURE_SCRIPT} - -post-configure: - ${ECHO_CMD} "#undef HAVE_SYS_SELECT_H" >> ${WRKSRC}/config.h +# configure is 555, so you can't do a "make configure" as non-root. +post-patch: + @${CHMOD} 755 ${WRKSRC}/../dist/configure post-install: -.for __p in ex vi view +.for __p in nex nvi nview @# XXX: Hack the Makefile in the distribution so this isn't necessary. ${RM} ${PREFIX}/man/cat1/${__p}.0 .endfor diff --git a/editors/nvi-devel/pkg-plist b/editors/nvi-devel/pkg-plist index cd19846aa0dd..5a2db79a31df 100644 --- a/editors/nvi-devel/pkg-plist +++ b/editors/nvi-devel/pkg-plist @@ -1,6 +1,6 @@ -bin/ex -bin/vi -bin/view +bin/nex +bin/nvi +bin/nview lib/libvi.a lib/libvi.la lib/libvi.so