From 3d218c913a3009690d80382be39389aa9f098f31 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 7 May 2002 22:49:19 +0000 Subject: * Add MESSAGE on how to use the rc.d script * Provide rc.d script :) * Fixup PLIST --- mail/teapop/Makefile | 7 ++++++- mail/teapop/PLIST | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile index 51513111b79..f3655d34949 100644 --- a/mail/teapop/Makefile +++ b/mail/teapop/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2002/04/29 16:44:17 hubertf Exp $ +# $NetBSD: Makefile,v 1.9 2002/05/07 22:49:19 hubertf Exp $ DISTNAME= teapop-0.3.4 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \ http://www.toontown.org/pub/teapop/ @@ -34,9 +35,13 @@ CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql .endif +post-build: + ${SED} ${FILES_SUBST_SED} ${FILESDIR}/teapop > ${WRKDIR}/teapop + post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/etc/teapop.passwd ${EGDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/teapop ${PREFIX}/etc/rc.d/teapop .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/teapop/PLIST b/mail/teapop/PLIST index 9983d083f23..6ce1cf656f8 100644 --- a/mail/teapop/PLIST +++ b/mail/teapop/PLIST @@ -1,5 +1,8 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:01:36 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/05/07 22:49:19 hubertf Exp $ +etc/rc.d/teapop +etc/teapop.passwd libexec/teapop man/man8/teapop.8 +sbin/cronpopauth.pl share/examples/teapop/teapop.passwd @dirrm share/examples/teapop -- cgit v1.2.3