2e2295ab08
-Wrote a script to automatically generate the Makefile and TARGETS. -Fixed a problem with handling text files with no final newline. -Added a new program, ezmlm-dispatch, to be run from a global .qmail-default file -Removed support for qmail older than version 1.02. -Removed all references to "inhost" and "inlocal" which were completely unused but still referenced in documentation and tests.
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2005/04/15 20:41:20 schmonz Exp $
|
|
#
|
|
|
|
.include "../../mail/ezmlm/Makefile.common"
|
|
|
|
DISTNAME= ezmlm-idx-0.440
|
|
SITES_${DISTNAME}.tar.gz= http://www.ezmlm.org/archive/${PKGVERSION}/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://www.ezmlm.org/
|
|
COMMENT= ezmlm with enhancements by third parties
|
|
|
|
CONFLICTS= ezmlm-[0-9]*
|
|
|
|
DISTFILES+= ${EZMLM_VERS}.tar.gz
|
|
PLIST_SRC+= PLIST.idx
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
# ezmlm-idx is a modification of the ezmlm source.
|
|
DJB_RESTRICTED= YES
|
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
PKG_SYSCONFSUBDIR= ezmlm
|
|
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
|
|
|
EGDIR= ${PREFIX}/share/examples/ezmlm-idx
|
|
CONF_FILES= ${EGDIR}/ezcgirc ${PKG_SYSCONFDIR}/ezcgirc
|
|
CONF_FILES+= ${EGDIR}/ezmlmrc ${PKG_SYSCONFDIR}/ezmlmrc
|
|
|
|
INSTALLATION_DIRS= bin man man/man1 man/man5 man/cat1 man/cat5
|
|
INSTALLATION_DIRS+= share/examples/ezmlm-idx
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC}/* ${WRKDIR}/${EZMLM_VERS}
|
|
@${RMDIR} ${WRKSRC}
|
|
@${MV} ${WRKDIR}/${EZMLM_VERS} ${WRKSRC}
|
|
|
|
pre-patch:
|
|
@cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < idx.patch
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ezcgirc ${EGDIR}/ezcgirc
|
|
${INSTALL_DATA} ${WRKSRC}/ezmlmrc ${EGDIR}/ezmlmrc
|
|
${INSTALL_DATA} ${WRKSRC}/ezmlmglrc ${EGDIR}/ezmlmglrc
|
|
${INSTALL_DATA} ${WRKSRC}/ezmlmsubrc ${EGDIR}/ezmlmsubrc
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|