summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit3ce638ed02adf3649ce7b39076071ccb64529784 (patch)
tree86f14acd24842161759a420487862022044c2b4b /mail/imap-uw
parent33d3218590bab0dca7122812c6edc6f6b124689f (diff)
downloadpkgsrc-3ce638ed02adf3649ce7b39076071ccb64529784.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 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile8
-rw-r--r--mail/imap-uw/pkg/MESSAGE13
2 files changed, 8 insertions, 13 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 3f08ab69957..33d027f9cf4 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/01/13 18:39:44 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2001/01/29 11:34:30 wiz Exp $
DISTNAME= imap-2000a
PKGNAME= imap-uw-2000a
@@ -11,8 +11,6 @@ HOMEPAGE= http://www.washington.edu/imap/
USE_LIBTOOL= # defined
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
INST_LIB= ${LIBTOOL} ${INSTALL_DATA}
INC_DIR= ${PREFIX}/include/c-client
@@ -41,10 +39,6 @@ post-build:
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/src/ipopd/ipopd.8c > ${WRKDIR}/ipopd.8
-pre-install:
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
- < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
-
do-install:
${INST_LIB} ${WRKSRC}/c-client/libimapuw.la ${PREFIX}/lib
${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
diff --git a/mail/imap-uw/pkg/MESSAGE b/mail/imap-uw/pkg/MESSAGE
index 41e0f16a23c..428c87095c6 100644
--- a/mail/imap-uw/pkg/MESSAGE
+++ b/mail/imap-uw/pkg/MESSAGE
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.6 2000/12/17 18:25:44 jlam Exp $
+$NetBSD: MESSAGE,v 1.7 2001/01/29 11:34:31 wiz Exp $
Add the following to /etc/services:
@@ -12,12 +12,13 @@ Add the following to /etc/services:
Add the following to /etc/inetd.conf:
- imap stream tcp nowait root @PREFIX@/libexec/imapd imapd
- imaps stream tcp nowait root @PREFIX@/libexec/imapd imapd
- pop2 stream tcp nowait root @PREFIX@/libexec/ipop2d ipop2d
- pop3 stream tcp nowait root @PREFIX@/libexec/ipop3d ipop3d
- pop3s stream tcp nowait root @PREFIX@/libexec/ipop3d ipop3d
+ imap stream tcp nowait root ${PREFIX}/libexec/imapd imapd
+ imaps stream tcp nowait root ${PREFIX}/libexec/imapd imapd
+ pop2 stream tcp nowait root ${PREFIX}/libexec/ipop2d ipop2d
+ pop3 stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d
+ pop3s stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d
To put the changes into effect, reboot the machine or "kill -HUP"
your inetd.
+
===========================================================================