diff options
-rw-r--r-- | mail/teapop-devel/Makefile | 8 | ||||
-rw-r--r-- | mail/teapop-devel/files/patch-aa | 26 | ||||
-rw-r--r-- | mail/teapop/Makefile | 8 | ||||
-rw-r--r-- | mail/teapop/files/patch-aa | 26 |
4 files changed, 42 insertions, 26 deletions
diff --git a/mail/teapop-devel/Makefile b/mail/teapop-devel/Makefile index 07032a4a4b57..4354e4bdd42c 100644 --- a/mail/teapop-devel/Makefile +++ b/mail/teapop-devel/Makefile @@ -51,4 +51,12 @@ CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \ MAN8= teapop.8 +post-install: + @${ECHO} " " + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} "===> Be sure to copy ${LOCALBASE}/etc/teapop.passwd.sample to" + @${ECHO} "===> ${LOCALBASE}/etc/teapop.passwd before using teapop" + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} " " + .include <bsd.port.mk> diff --git a/mail/teapop-devel/files/patch-aa b/mail/teapop-devel/files/patch-aa index efa6e7efca00..2a5ad536ebda 100644 --- a/mail/teapop-devel/files/patch-aa +++ b/mail/teapop-devel/files/patch-aa @@ -1,21 +1,21 @@ ---- etc/Makefile.in.orig Sat Aug 12 16:28:44 2000 -+++ etc/Makefile.in Sat Aug 12 17:15:14 2000 -@@ -23,14 +23,15 @@ +--- etc/Makefile.in.orig Sat Mar 10 19:51:58 2001 ++++ etc/Makefile.in Sat Mar 10 19:55:01 2001 +@@ -23,15 +23,9 @@ fi install: build -+ @echo installing teapop.passwd.sample; \ -+ ${INSTALL} -d ${sysconfdir}; \ -+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample; - @echo Checking for existing teapop.passwd; \ - if [ -f ${sysconfdir}/teapop.passwd ]; then \ - echo "Exists...NOT installing teapop.passwd"; \ - else \ - echo "Not found, installing teapop.passwd"; \ +- @echo Checking for existing teapop.passwd; \ +- if [ -f ${sysconfdir}/teapop.passwd ]; then \ +- echo "Exists...NOT installing teapop.passwd"; \ +- else \ +- echo "Not found, installing teapop.passwd"; \ - ${INSTALL} -d ${sysconfdir}; \ - ${INSTALL} teapop.passwd ${sysconfdir}; \ - ${CHMOD} 0755 ${sysconfdir}/teapop.passwd; \ -+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}; \ - fi +- fi ++ @echo Installing teapop.passwd.sample; \ ++ ${INSTALL} -d ${sysconfdir} ++ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample; makefile: ../config/timestamp + @echo Updating Makefile diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile index 07032a4a4b57..4354e4bdd42c 100644 --- a/mail/teapop/Makefile +++ b/mail/teapop/Makefile @@ -51,4 +51,12 @@ CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \ MAN8= teapop.8 +post-install: + @${ECHO} " " + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} "===> Be sure to copy ${LOCALBASE}/etc/teapop.passwd.sample to" + @${ECHO} "===> ${LOCALBASE}/etc/teapop.passwd before using teapop" + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} " " + .include <bsd.port.mk> diff --git a/mail/teapop/files/patch-aa b/mail/teapop/files/patch-aa index efa6e7efca00..2a5ad536ebda 100644 --- a/mail/teapop/files/patch-aa +++ b/mail/teapop/files/patch-aa @@ -1,21 +1,21 @@ ---- etc/Makefile.in.orig Sat Aug 12 16:28:44 2000 -+++ etc/Makefile.in Sat Aug 12 17:15:14 2000 -@@ -23,14 +23,15 @@ +--- etc/Makefile.in.orig Sat Mar 10 19:51:58 2001 ++++ etc/Makefile.in Sat Mar 10 19:55:01 2001 +@@ -23,15 +23,9 @@ fi install: build -+ @echo installing teapop.passwd.sample; \ -+ ${INSTALL} -d ${sysconfdir}; \ -+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample; - @echo Checking for existing teapop.passwd; \ - if [ -f ${sysconfdir}/teapop.passwd ]; then \ - echo "Exists...NOT installing teapop.passwd"; \ - else \ - echo "Not found, installing teapop.passwd"; \ +- @echo Checking for existing teapop.passwd; \ +- if [ -f ${sysconfdir}/teapop.passwd ]; then \ +- echo "Exists...NOT installing teapop.passwd"; \ +- else \ +- echo "Not found, installing teapop.passwd"; \ - ${INSTALL} -d ${sysconfdir}; \ - ${INSTALL} teapop.passwd ${sysconfdir}; \ - ${CHMOD} 0755 ${sysconfdir}/teapop.passwd; \ -+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}; \ - fi +- fi ++ @echo Installing teapop.passwd.sample; \ ++ ${INSTALL} -d ${sysconfdir} ++ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample; makefile: ../config/timestamp + @echo Updating Makefile |