aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-01-23 15:59:44 +0800
committerkevlo <kevlo@FreeBSD.org>2001-01-23 15:59:44 +0800
commitca0999c77a0eb2aa44b3222359ec0a100044dada (patch)
tree8b38105015a6b5ab85be8c2da02234139ee94b68 /editors
parent34e4b13abe7785d5ffd4fa02377654cfd0873839 (diff)
downloadfreebsd-ports-gnome-ca0999c77a0eb2aa44b3222359ec0a100044dada.tar.gz
freebsd-ports-gnome-ca0999c77a0eb2aa44b3222359ec0a100044dada.tar.zst
freebsd-ports-gnome-ca0999c77a0eb2aa44b3222359ec0a100044dada.zip
Support MAN/MLINKS properly.
PR: 24544 Submitted by: Ports Fury
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi-m17n/Makefile18
-rw-r--r--editors/nvi-m17n/pkg-plist13
2 files changed, 17 insertions, 14 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index 166c30ac2869..88e139c97f06 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nvi
PORTVERSION= 1.79.19991117
+PORTREVISON= 1
CATEGORIES?= editors
MASTER_SITES= ftp://sleepy.vwh.net/pub/\
ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
@@ -16,26 +17,31 @@ DISTNAME= nvi-1.79
PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
PATCHFILES= nvi-1.79.m17n-19991117.diff.gz
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
#LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
-SLAVEDIRS= chinese/nvi-big5 chinese/nvi-euc-cn chinese/nvi-euc-tw
+PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
WRKSRC= ${WRKDIR}/${DISTNAME}/build
+
GNU_CONFIGURE= yes
-PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS= --enable-multibyte --program-prefix=n
+MAN1= nvi.1
+MLINKS= nvi.1 nex.1 nvi.1 nview.1
+
+SLAVEDIRS= chinese/nvi-big5 chinese/nvi-euc-cn chinese/nvi-euc-tw
+
.include <bsd.port.pre.mk>
post-patch:
${LN} -s /usr/include/sys/queue.h ${WRKSRC}/../include/sys/queue_dist.h
post-install:
- @${CP} ${WRKSRC}/../docs.m17n/README.english \
- ${PREFIX}/share/vi/
- @${CP} ${WRKSRC}/../docs.m17n/README.japanese \
+ ${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.english \
${PREFIX}/share/vi/
+ ${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.japanese \
+ ${PREFIX}/share/vi
.include <bsd.port.post.mk>
diff --git a/editors/nvi-m17n/pkg-plist b/editors/nvi-m17n/pkg-plist
index 19d97e4a0739..197f17873740 100644
--- a/editors/nvi-m17n/pkg-plist
+++ b/editors/nvi-m17n/pkg-plist
@@ -1,14 +1,10 @@
-bin/nvi
bin/nex
+bin/nvi
bin/nview
-bin/regular
bin/qregular
-man/man1/nvi.1
-man/man1/nex.1
-man/man1/nview.1
+bin/regular
share/vi/README.english
share/vi/README.japanese
-share/vi/recover
share/vi/catalog/dutch
share/vi/catalog/english
share/vi/catalog/french
@@ -20,11 +16,12 @@ share/vi/perl/forall.pl
share/vi/perl/make.pl
share/vi/perl/tk.pl
share/vi/perl/wc.pl
+share/vi/recover
share/vi/tcl/errors.tcl
share/vi/tcl/gnats.tcl
share/vi/tcl/mailprocs.tcl
share/vi/tcl/wc.tcl
-@dirrm share/vi/catalog
-@dirrm share/vi/perl
@dirrm share/vi/tcl
+@dirrm share/vi/perl
+@dirrm share/vi/catalog
@dirrm share/vi