diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 16:04:16 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 16:04:16 +0000 |
commit | 05065d99c78a53f6ab97086574a01d75be79decc (patch) | |
tree | 2f9f09b2b30cc41ccd58808030a38660205a46fb /mail/dbmail20/Makefile | |
parent | 679f73e91c22fe170f78e55bd8ed2adf7a40849c (diff) | |
download | ports-05065d99c78a53f6ab97086574a01d75be79decc.tar.gz ports-05065d99c78a53f6ab97086574a01d75be79decc.zip |
Notes
Diffstat (limited to 'mail/dbmail20/Makefile')
-rw-r--r-- | mail/dbmail20/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/mail/dbmail20/Makefile b/mail/dbmail20/Makefile index a67e4be6ec2a..d138d51531d7 100644 --- a/mail/dbmail20/Makefile +++ b/mail/dbmail20/Makefile @@ -7,6 +7,7 @@ PORTNAME= dbmail PORTVERSION= 2.0.4 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/download/ PKGNAMESUFFIX= -${DATABASE} @@ -20,14 +21,10 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS= --prefix=${PREFIX} USE_GMAKE= YES USE_OPENSSL= YES +USE_RC_SUBR= dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh 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 USE_PGSQL= yes @@ -68,16 +65,8 @@ 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 |