blob: 0175d715df238f9fc6217c8f0081925fe98233bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.37 2014/10/09 14:06:38 wiz Exp $
#
.include "../../mail/ezmlm/Makefile.common"
DISTNAME= ezmlm-idx-${IDXVERSION}
PKGREVISION= 2
IDXVERSION= 0.444
SITES.${DISTNAME}.tar.gz= http://www.ezmlm.org/archive/${IDXVERSION}/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.ezmlm.org/
COMMENT= Version of ezmlm with enhancements by third parties
LICENSE= gnu-gpl-v2
CONFLICTS= ezmlm-[0-9]*
DISTFILES+= ${EZMLM_VERS}.tar.gz
PLIST_SRC+= PLIST.idx
DJB_RESTRICTED= no
DJB_CONFIG_CMDS= ${ECHO} ${DESTDIR:Q} > conf-destdir
PKG_SYSCONFSUBDIR= ezmlm
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
USE_TOOLS+= patch
EGDIR= ${PREFIX}/share/examples/ezmlm-idx
CONF_FILES= ${EGDIR}/ezcgirc ${PKG_SYSCONFDIR}/ezcgirc
CONF_FILES+= ${EGDIR}/ezmlmrc ${PKG_SYSCONFDIR}/ezmlmrc
INSTALLATION_DIRS= bin ${PKGMANDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/examples/ezmlm-idx
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} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/ezcgirc ${DESTDIR}${EGDIR}/ezcgirc
${INSTALL_DATA} ${WRKSRC}/ezmlmrc ${DESTDIR}${EGDIR}/ezmlmrc
${INSTALL_DATA} ${WRKSRC}/ezmlmglrc ${DESTDIR}${EGDIR}/ezmlmglrc
${INSTALL_DATA} ${WRKSRC}/ezmlmsubrc ${DESTDIR}${EGDIR}/ezmlmsubrc
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
|