diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-09 08:54:50 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-09 08:54:50 +0000 |
commit | d673988053e221f7d8b72860742e1024a90866c8 (patch) | |
tree | 2f40dec904c8a1025b6077a1c92ab3d00307c06c /mail/ezmlm-idx | |
parent | update games/xracer: BROKEN on non-i386 (diff) |
patch mail/ezmlm-idx:
- Make portlint(1) happy: move RUN_DEPENDS and PATCH_SITES
- Remove explicit ezmlm version number from COMMENT and pkg-descr
- Reformat pkg-descr
- Cleanup and simplify Makefile
- Use DOCSDIR macro in pkg-plist
- Take maintainership
PR: 53857
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'mail/ezmlm-idx')
-rw-r--r-- | mail/ezmlm-idx/Makefile | 88 | ||||
-rw-r--r-- | mail/ezmlm-idx/pkg-descr | 29 | ||||
-rw-r--r-- | mail/ezmlm-idx/pkg-plist | 16 |
3 files changed, 61 insertions, 72 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile index 301d77729fa6..5c0974f1ec37 100644 --- a/mail/ezmlm-idx/Makefile +++ b/mail/ezmlm-idx/Makefile @@ -16,11 +16,13 @@ MASTER_SITES= ftp://ftp.ezmlm.org/pub/patches/ \ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ezmlm-${EZMLM_VERSION}${EXTRACT_SUFX} -PATCHFILES= ezmlm-cgi.patch PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ezmlm-cgi.patch + +MAINTAINER= sergei@kolobov.com +COMMENT= Improved version of the ezmlm mailing list manager -MAINTAINER= ports@FreeBSD.org -COMMENT= Improved version of the ezmlm-0.53 mailing list management software +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail # QMAIL_DIR is the directory where qmail is installed QMAIL_DIR?= /var/qmail @@ -28,27 +30,38 @@ 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 WITH_MYSQL is defined, build with MySQL extensions .if defined(WITH_MYSQL) ALL_TARGET= mysql it ${LANGUAGE} LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -EXTRACT_INCLUDE+= -I${PREFIX}/include/mysql -EXTRACT_LIB+= -L${PREFIX}/lib/mysql -lmysqlclient -lm +EXTRACT_INCLUDE+= -I${LOCALBASE}/include/mysql +EXTRACT_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lm .elif defined(WITH_POSTGRESQL) ALL_TARGET= pgsql it ${LANGUAGE} POSTGRESQL_PORT?= databases/postgresql7 LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} -EXTRACT_INCLUDE+= -I${PREFIX}/include/pgsql -EXTRACT_LIB+= -L${PREFIX}/lib -lpq -lcrypt +EXTRACT_INCLUDE+= -I${LOCALBASE}/include/pgsql +EXTRACT_LIB+= -L${LOCALBASE}/lib -lpq -lcrypt .else ALL_TARGET= it ${LANGUAGE} .endif -NO_PACKAGE= Unsure of djb's license +NO_PACKAGE= Unsure of DJB license + +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION} +EZMLM_VERSION= 0.53 + +PKGMESSAGE= ${WRKDIR}/pkg-message + +PROGRAMS= ezmlm-archive ezmlm-cgi ezmlm-clean ezmlm-cron ezmlm-gate \ + ezmlm-get ezmlm-idx ezmlm-issubn ezmlm-limit ezmlm-list \ + ezmlm-make ezmlm-manage ezmlm-moderate ezmlm-request \ + ezmlm-reject ezmlm-return ezmlm-send ezmlm-split ezmlm-store \ + ezmlm-sub ezmlm-tstdig ezmlm-unsub ezmlm-warn ezmlm-weed +SCRIPTS= ezmlm-accept ezmlm-check ezmlm-glconf ezmlm-mktab ezmlm-test +CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc MAN1= ezmlm-accept.1 ezmlm-archive.1 ezmlm-cgi.1 ezmlm-check.1 \ ezmlm-clean.1 ezmlm-cron.1 ezmlm-gate.1 ezmlm-get.1 \ @@ -59,18 +72,7 @@ MAN1= ezmlm-accept.1 ezmlm-archive.1 ezmlm-cgi.1 ezmlm-check.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= archive cgi clean cron gate get idx issubn limit \ - list make manage moderate request reject return \ - send split store sub tstdig unsub warn weed - -MY_SCRIPTS= accept check glconf mktab test - -MY_CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc - -EZMLM_VERSION= 0.53 +DOCS= CHANGES.idx DOWNGRADE.idx FAQ.idx INSTALL.idx README.idx UPGRADE.idx pre-patch: @${MV} -f ${WRKDIR}/ezmlm-idx-${PORTVERSION}/* ${WRKSRC} @@ -89,43 +91,25 @@ post-patch: .endif @${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man @${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail - @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX - @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX - @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.PPREFIX - @${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig - @${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \ - < ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h - -pre-install: - @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX - @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX - @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.IPREFIX - @diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1) + @${REINPLACE_CMD} -e 's,/etc/ezmlm/,${PREFIX}/etc/ezmlm/,' \ + ${WRKSRC}/idx.h do-install: -.for file in ${MY_PROGRAMS} - @${INSTALL_PROGRAM} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin -.endfor -.for file in ${MY_SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin -.endfor + cd ${WRKSRC} && \ + ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \ + ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin && \ + ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \ + ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 @${MKDIR} ${PREFIX}/etc/ezmlm -.for file in ${MY_CONFIG} +.for file in ${CONFIG} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/ezmlm/${file}.sample .endfor -.for file in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1 -.endfor -.for file in ${MAN5} - @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man5 -.endfor .if !defined(NOPORTDOCS) - @${ECHO} "===> Copying documents to ${PREFIX}/share/doc/ezmlm-idx" - @${MKDIR} ${PREFIX}/share/doc/ezmlm-idx -.for file in CHANGES.idx DOWNGRADE.idx FAQ.idx INSTALL.idx README.idx UPGRADE.idx - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ezmlm-idx -.endfor + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif + @${SED} -e 's,$${PREFIX},${PREFIX},' ${.CURDIR}/pkg-message \ + > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/mail/ezmlm-idx/pkg-descr b/mail/ezmlm-idx/pkg-descr index cb6f3c5d0b4a..19fbec4f6e28 100644 --- a/mail/ezmlm-idx/pkg-descr +++ b/mail/ezmlm-idx/pkg-descr @@ -1,16 +1,21 @@ -ezmlm-idx is an addition and patch to ezmlm-0.53. +ezmlm-idx is an improved version of ezmlm mailing list manager. -ezmlm-idx adds multi-message threaded archive retrieval, digests, remote -administration, message and subscription moderation, subscriber-only -restrictions, message trailer, subject prefix, subscriber name storage, -customizable setup, multi-language and MIME support and more. In addition, -improved bounce handling, case-insensitive subscriber address storage, and -support for distributed lists (main + sublist transparent to the -subscriber). - -ezmlm-idx can now be compiled with MySQL support for centrally administrated -distributed lists with binaries that autosense use of SQL or standard ezmlm -databases. +ezmlm-idx adds the following features: +- multi-message threaded archive retrieval +- digests +- remote administration +- message and subscription moderation +- subscriber-only restrictions +- message trailer +- subject prefix +- subscriber name storage, +- customizable setup +- multi-language and MIME support +- improved bounce handling +- case-insensitive subscriber address storage +- distributed lists (main + sublist transparent to the subscriber) +- SQL support (MySQL or Postgres) for centrally administrated + distributed lists WWW: http://www.ezmlm.org/ diff --git a/mail/ezmlm-idx/pkg-plist b/mail/ezmlm-idx/pkg-plist index 3c2b68c48e7b..e4e0d81d0de7 100644 --- a/mail/ezmlm-idx/pkg-plist +++ b/mail/ezmlm-idx/pkg-plist @@ -30,11 +30,11 @@ bin/ezmlm-weed etc/ezmlm/ezmlmglrc.sample etc/ezmlm/ezmlmrc.sample etc/ezmlm/ezmlmsubrc.sample -%%PORTDOCS%%share/doc/ezmlm-idx/CHANGES.idx -%%PORTDOCS%%share/doc/ezmlm-idx/DOWNGRADE.idx -%%PORTDOCS%%share/doc/ezmlm-idx/FAQ.idx -%%PORTDOCS%%share/doc/ezmlm-idx/INSTALL.idx -%%PORTDOCS%%share/doc/ezmlm-idx/README.idx -%%PORTDOCS%%share/doc/ezmlm-idx/UPGRADE.idx -%%PORTDOCS%%@dirrm share/doc/ezmlm-idx -@dirrm etc/ezmlm +@unexec rmdir %D/etc/ezmlm 2>/dev/null || true +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.idx +%%PORTDOCS%%%%DOCSDIR%%/DOWNGRADE.idx +%%PORTDOCS%%%%DOCSDIR%%/FAQ.idx +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.idx +%%PORTDOCS%%%%DOCSDIR%%/README.idx +%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.idx +%%PORTDOCS%%@dirrm %%DOCSDIR%% |