aboutsummaryrefslogtreecommitdiff
path: root/net/freebsd-uucp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-07 20:28:33 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-07 20:28:33 +0000
commit65e198582c1eb4df4c27f84f19dfd9c9703f8586 (patch)
tree983da347e68c300baa7a41ac7717fa6842b726c1 /net/freebsd-uucp
parent91b4ceeadb31ef3a9f4221f44473cc46af6fba43 (diff)
downloadports-65e198582c1eb4df4c27f84f19dfd9c9703f8586.tar.gz
ports-65e198582c1eb4df4c27f84f19dfd9c9703f8586.zip
- Create template in %%PREFI%%/info/dir
to make "bsd.info.mk" work.
Notes
Notes: svn path=/head/; revision=55692
Diffstat (limited to 'net/freebsd-uucp')
-rw-r--r--net/freebsd-uucp/Makefile6
-rw-r--r--net/freebsd-uucp/files/dir-tmpl16
2 files changed, 22 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index b4b95504028d..c9c7b69d3ee9 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -51,6 +51,12 @@ do-configure:
@${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree
.endif
+.if ! exists(${DESTDIR}/${PREFIX}/info/dir)
+pre-install:
+ ${INSTALL} -c -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
+ ${FILESDIR}/dir-tmpl ${DESTDIR}${PREFIX}/info/dir
+.endif
+
post-install:
@${ECHO} "Use the 'make upgrade' command to copy your old configuration"
@${ECHO} "files from /etc/uucp to the new location in ${PREFIX}/etc/uucp"
diff --git a/net/freebsd-uucp/files/dir-tmpl b/net/freebsd-uucp/files/dir-tmpl
new file mode 100644
index 000000000000..6064d3aa076c
--- /dev/null
+++ b/net/freebsd-uucp/files/dir-tmpl
@@ -0,0 +1,16 @@
+-*- Text -*-
+This is the file .../info/dir, which contains the
+topmost node of the Info hierarchy, called (dir)Top.
+The first time you invoke Info you start off looking at this node.
+
+File: dir, Node: Top This is the top of the INFO tree
+
+ This (the Directory node) gives a menu of major topics.
+ Typing "q" exits, "?" lists all Info commands, "d" returns here,
+ "h" gives a primer for first-timers,
+ "mEmacs<Return>" visits the Emacs manual, etc.
+
+ In Emacs, you can click mouse button 2 on a menu item or cross reference
+ to select it.
+
+* Menu: