aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2017-07-27 21:00:35 +0800
committerolgeni <olgeni@FreeBSD.org>2017-07-27 21:00:35 +0800
commitc7a5db1926fb01040dd5e71027643e8b84c4447e (patch)
tree4564b91314a9d4f4b007135d3facd5cb9b20abe8 /lang
parent6dfacf5d198e21ec5878cbc65fd808cf6fb184f1 (diff)
downloadfreebsd-ports-gnome-c7a5db1926fb01040dd5e71027643e8b84c4447e.tar.gz
freebsd-ports-gnome-c7a5db1926fb01040dd5e71027643e8b84c4447e.tar.zst
freebsd-ports-gnome-c7a5db1926fb01040dd5e71027643e8b84c4447e.zip
In lang/nx:
- Rename man pages in the style of Tcl packages, so as to avoid a conflict with open-motif (Object.3) - Remove obsolete CONFLICTS setting. PR: 221045 Submitted by: olgeni Approved by: gahr
Diffstat (limited to 'lang')
-rw-r--r--lang/nx/Makefile7
-rw-r--r--lang/nx/pkg-plist18
2 files changed, 14 insertions, 11 deletions
diff --git a/lang/nx/Makefile b/lang/nx/Makefile
index bbea6ceb5853..d4bee77cf3d2 100644
--- a/lang/nx/Makefile
+++ b/lang/nx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nx
DISTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= SF/next-scripting/${DISTVERSION}/
DISTNAME= nsf${DISTVERSION}
@@ -14,14 +15,16 @@ LICENSE= MIT
OPTIONS_DEFINE= DOCS
-CONFLICTS= xotcl-1.*
-
USES+= gmake tcl:85+,tea
USE_LDCONFIG= yes
TEST_TARGET= test
PLIST_SUB+= PKGNAME=${DISTNAME}
PORTDOCS= *
+post-patch:
+ cd ${WRKSRC}/doc && for f in *.1; do mv $$f $${f%.1}.nx.1; done
+ cd ${WRKSRC}/doc && for f in *.3; do mv $$f $${f%.3}.nx.3; done
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
diff --git a/lang/nx/pkg-plist b/lang/nx/pkg-plist
index 86324f497be0..dc14770181f1 100644
--- a/lang/nx/pkg-plist
+++ b/lang/nx/pkg-plist
@@ -58,12 +58,12 @@ lib/%%PKGNAME%%/xotcl/serialize/Serializer.xotcl
lib/%%PKGNAME%%/xotcl/serialize/pkgIndex.tcl
lib/%%PKGNAME%%/xotcl/xotcl2.tcl
lib/nsfConfig.sh
-man/man1/nxsh.1.gz
-man/man1/nxwish.1.gz
-man/man1/xotclsh.1.gz
-man/man1/xowish.1.gz
-man/man3/Class.3.gz
-man/man3/Object.3.gz
-man/man3/configure.3.gz
-man/man3/current.3.gz
-man/man3/next.3.gz
+man/man1/nxsh.nx.1.gz
+man/man1/nxwish.nx.1.gz
+man/man1/xotclsh.nx.1.gz
+man/man1/xowish.nx.1.gz
+man/man3/Class.nx.3.gz
+man/man3/Object.nx.3.gz
+man/man3/configure.nx.3.gz
+man/man3/current.nx.3.gz
+man/man3/next.nx.3.gz