diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2004-11-10 09:21:45 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2004-11-10 09:21:45 +0000 |
commit | e7fcc1a2e1a08d43f5c194df330d99f8a251cda0 (patch) | |
tree | 0266a3dff0ceee30ebdc55dccd24127cd1b56e6b /mail/dbmail22/Makefile | |
parent | 4d144031b7558799d5e8aa1b4c0945580ed99c5a (diff) | |
download | ports-e7fcc1a2e1a08d43f5c194df330d99f8a251cda0.tar.gz ports-e7fcc1a2e1a08d43f5c194df330d99f8a251cda0.zip |
Notes
Diffstat (limited to 'mail/dbmail22/Makefile')
-rw-r--r-- | mail/dbmail22/Makefile | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile index 718bae35f22e..caadfceefbeb 100644 --- a/mail/dbmail22/Makefile +++ b/mail/dbmail22/Makefile @@ -7,7 +7,7 @@ PORTNAME= dbmail PORTVERSION= 2.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/download/ PKGNAMESUFFIX= -${DATABASE} @@ -23,6 +23,12 @@ USE_GMAKE= YES USE_OPENSSL= YES CFLAGS += -fPIC + +SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \ + -e 's|%%PREFIX%%|${PREFIX}|g' \ + -e 's|%%RC_DIR%%|${RC_DIR}|g' \ + -e 's|%%RC_SUFX%%|${RC_SUFX}|g' + .if defined(WITH_POSTGRESQL) CONFIGURE_ARGS+= --with-pgsql LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7 @@ -63,8 +69,16 @@ post-configure: @${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \ ${WRKSRC}/dbmail.h +post-build: +.for f in imap lmtp pop3 + @${SED} ${SED_SCRIPT} ${FILESDIR}/dbmail-${f}d.sh > ${WRKDIR}/dbmail-${f}d.sh +.endfor + post-install: @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist +.for f in imap lmtp pop3 + @${INSTALL_SCRIPT} ${WRKDIR}/dbmail-${f}d.sh ${DESTDIR}${PREFIX}/etc/rc.d/dbmail-${f}d.sh +.endfor @${MKDIR} ${DATADIR}/sql @${INSTALL_DATA} ${WRKSRC}/sql/${DATABASE}/* ${DATADIR}/sql @cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 @@ -80,5 +94,10 @@ post-install: @${ECHO} " *) Many programs have been renamed and their arguments changed." @${ECHO} " *) Read the upgrading notes." @${ECHO} " *) Don't be careless with this upgrade or mail will be lost!" + @${ECHO} " *) dbmail can be controled by setting dbmail_imapd_enable," + @${ECHO} " dbmail_lmtpd_enable, and/or dbmail_pop3d_enable in" + @${ECHO} " /etc/rc.conf." + @${ECHO} "" + .include <bsd.port.mk> |