diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /security/sudo | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-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 'security/sudo')
-rw-r--r-- | security/sudo/Makefile | 7 | ||||
-rw-r--r-- | security/sudo/pkg/MESSAGE | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 4ad1acbfdd6..a29f34823b2 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2000/12/06 16:27:39 jlam Exp $ +# $NetBSD: Makefile,v 1.29 2001/01/29 11:34:42 wiz Exp $ # FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp # @@ -43,7 +43,6 @@ CONFIGURE_ARGS+= --with-nbsdops --disable-path-info PLIST_SRC= ${PKGDIR}/PLIST.common PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS} -MESSAGE_FILE= ${WRKDIR}/MESSAGE DOCDIR= ${PREFIX}/share/doc/sudo EGDIR= ${PREFIX}/share/examples/sudo @@ -51,10 +50,6 @@ EGDIR= ${PREFIX}/share/examples/sudo pre-configure: cd ${WRKSRC} && autoconf -post-build: - ${SED} -e "s,@PREFIX@,${PREFIX},g" \ - < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCDIR} diff --git a/security/sudo/pkg/MESSAGE b/security/sudo/pkg/MESSAGE index f1ff8fa5979..d691cdc6dc4 100644 --- a/security/sudo/pkg/MESSAGE +++ b/security/sudo/pkg/MESSAGE @@ -1,9 +1,9 @@ ============================================================================= -$NetBSD: MESSAGE,v 1.1 2000/12/06 06:33:40 jlam Exp $ +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:42 wiz Exp $ If you are upgrading from a version of sudo prior to 1.6, then please read - @PREFIX@/share/doc/sudo/UPGRADE + ${PREFIX}/share/doc/sudo/UPGRADE on how to modify your sudoers file appropriately. |