diff options
author | steve <steve@FreeBSD.org> | 1999-03-31 15:34:35 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-03-31 15:34:35 +0000 |
commit | bd66a2b4c95ade31933854cc132b72981244bfa1 (patch) | |
tree | 1ee8fbcf6bd48255770dbf491b8a9fa6fbbc997e /mail/ezmlm-idx/Makefile | |
parent | 29f5b7f1a441143616793e986a1cea20b615949c (diff) | |
download | FreeBSD-ports-bd66a2b4c95ade31933854cc132b72981244bfa1.zip FreeBSD-ports-bd66a2b4c95ade31933854cc132b72981244bfa1.tar.gz |
Update to version 0.321.
PR: 10867
Submitted by: maintainer
Diffstat (limited to 'mail/ezmlm-idx/Makefile')
-rw-r--r-- | mail/ezmlm-idx/Makefile | 74 |
1 files changed, 44 insertions, 30 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile index 0e543b8..4351b27 100644 --- a/mail/ezmlm-idx/Makefile +++ b/mail/ezmlm-idx/Makefile @@ -1,9 +1,9 @@ # New ports collection makefile for: ezmlm -# Version required: 0.313 +# Version required: 0.321 # Date created: 28 November 1998 # Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za> # -# $Id: Makefile,v 1.1.1.1 1999/01/18 03:51:18 steve Exp $ +# $Id: Makefile,v 1.2 1999/02/22 04:17:39 steve Exp $ DISTNAME= ezmlm-idx-${IDX_VERSION} CATEGORIES= mail @@ -15,46 +15,50 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ MAINTAINER= tom@eborcom.com -.if defined(NOPORTDOCS) -PLIST= ${PKGDIR}/PLIST.nodocs -.endif - # QMAIL_DIR is the directory where qmail is installed -.if !defined(QMAIL_DIR) -QMAIL_DIR= /var/qmail -.endif +QMAIL_DIR?= /var/qmail + +# LANGUAGE is the ISO code for the language to use in ezmlmrc +LANGUAGE?= en_US RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail +# If USE_MYSQL is defined, build with MySQL extensions +.if defined(USE_MYSQL) +ALL_TARGET= it ${LANGUAGE} mysql +LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322 +.else +ALL_TARGET= it ${LANGUAGE} +.endif + NO_PACKAGE= Unsure of djb's license WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION} -ALL_TARGET= it - -MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1 \ - ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1 \ - ezmlm-warn.1 ezmlm-weed.1 ezmlm-accept.1 ezmlm-both.1 \ - ezmlm-issubn.1 ezmlm-glconf.1 ezmlm-glmake.1 ezmlm-moderate.1 \ - ezmlm-request.1 ezmlm-store.1 ezmlm-idx.1 ezmlm-gate.1 \ - ezmlm-tstdig.1 ezmlm-get.1 ezmlm-check.1 ezmlm-clean.1 \ - ezmlm-cron.1 -MAN5= ezmlm.5 ezmlmrc.5 +MAN1= ezmlm-accept.1 ezmlm-check.1 ezmlm-clean.1 ezmlm-cron.1 \ + ezmlm-gate.1 ezmlm-get.1 ezmlm-glconf.1 ezmlm-grant.1 \ + ezmlm-idx.1 ezmlm-issubn.1 ezmlm-limit.1 ezmlm-list.1 \ + ezmlm-make.1 ezmlm-manage.1 ezmlm-mktab.1 ezmlm-moderate.1 \ + ezmlm-receipt.1 ezmlm-reject.1 ezmlm-request.1 \ + ezmlm-return.1 ezmlm-send.1 ezmlm-split.1 ezmlm-store.1 \ + ezmlm-sub.1 ezmlm-test.1 ezmlm-tstdig.1 ezmlm-unsub.1 \ + ezmlm-warn.1 ezmlm-weed.1 +MAN5= ezmlm.5 ezmlmglrc.5 ezmlmrc.5 ezmlmsubrc.5 DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR -MY_PROGRAMS= ezmlm-clean ezmlm-cron ezmlm-gate ezmlm-get ezmlm-idx \ - ezmlm-issubn ezmlm-list ezmlm-make ezmlm-manage \ - ezmlm-moderate ezmlm-request ezmlm-reject ezmlm-return \ - ezmlm-send ezmlm-store ezmlm-sub ezmlm-tstdig ezmlm-unsub \ - ezmlm-warn ezmlm-weed +MY_PROGRAMS= clean cron gate get idx issubn list make manage \ + moderate receipt request reject return send split \ + store sub tstdig unsub warn weed -MY_SCRIPTS= ezmlm-accept ezmlm-both ezmlm-check ezmlm-glconf ezmlm-glmake +MY_SCRIPTS= accept check glconf grant mktab test -MY_CONFIG= ezmlmrc +MY_CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc EZMLM_VERSION= 0.53 -IDX_VERSION= 0.313 +IDX_VERSION= 0.321 + +PLIST= ${WRKDIR}/PLIST pre-patch: @${MV} -f ${WRKDIR}/ezmlm-idx-${IDX_VERSION}/* ${WRKSRC} @@ -68,21 +72,30 @@ post-patch: @${ECHO} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail @${ECHO} ${PREFIX} > ${WRKDIR}/.PPREFIX @${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX + @${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.PPREFIX + @${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig + @${SED} -e 's#TXT_ETC_EZMLMRC "/etc/ezmlmrc"#TXT_ETC_EZMLMRC "${PREFIX}/etc/ezmlmrc"#' \ + < ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h + @${CP} ${PKGDIR}/PLIST ${WRKDIR} +.if !defined(NOPORTDOCS) + @${CAT} ${PKGDIR}/PLIST.docs >> ${WRKDIR}/PLIST +.endif pre-install: @${ECHO} ${PREFIX} > ${WRKDIR}/.IPREFIX @${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX + @${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.IPREFIX @diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1) do-install: .for file in ${MY_PROGRAMS} - @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin .endfor .for file in ${MY_SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin .endfor .for file in ${MY_CONFIG} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/${file}.sample .endfor .for file in ${MAN1} @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1 @@ -97,5 +110,6 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ezmlm-idx .endfor .endif + @${CAT} ${PKGDIR}/MESSAGE .include <bsd.port.mk> |