summaryrefslogtreecommitdiff
path: root/japanese/man
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /japanese/man
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'japanese/man')
-rw-r--r--japanese/man/Makefile6
-rw-r--r--japanese/man/pkg/MESSAGE5
2 files changed, 6 insertions, 5 deletions
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 47287034cb0..ad1c192a282 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/02/15 09:26:21 agc Exp $
+# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:28 wiz Exp $
DISTNAME= NetBSD1.3I-jman-19990531
PKGNAME= ja-man-19990531
@@ -17,9 +17,6 @@ MAKE_ENV+= JAMANDIR=${JAMANDIR}
PLIST_SRC= ${WRKDIR}/PLIST
-MESSAGE_SRC= ${PKGDIR}/MESSAGE
-MESSAGE_FILE= ${WRKDIR}/.MESSAGE
-
MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.prefs.mk"
@@ -47,7 +44,6 @@ do-build:
MKCATPAGES?= yes
pre-install:
- @${SED} -e 's|$${PREFIX}|${PREFIX}|' ${MESSAGE_SRC} > ${MESSAGE_FILE}
.if ${MKCATPAGES} == no
@${SED} -e '/\/cat[1-9]\//d' ${PKGDIR}/PLIST > ${PLIST_SRC}
.if exists(${PKGDIR}/PLIST.${MACHINE})
diff --git a/japanese/man/pkg/MESSAGE b/japanese/man/pkg/MESSAGE
index 961c6ed6afa..4f09a7e9fff 100644
--- a/japanese/man/pkg/MESSAGE
+++ b/japanese/man/pkg/MESSAGE
@@ -1 +1,6 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:28 wiz Exp $
+
Please read ${PREFIX}/share/doc/jman/README.
+
+======================================================================