aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ezmlm/Makefile
blob: 3d88364b12f6c6fda83aa2f3cfaeb3dac59d113f (plain) (blame)
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
52
53
# Created by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
# $FreeBSD$

PORTNAME=   ezmlm
PORTVERSION=    0.53
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://cr.yp.to/software/ \
        ftp://ftp.fu-berlin.de/unix/mail/qmail/ \
        ftp://ftp.st.ryukoku.ac.jp/pub/network/mail/qmail/ \
        ftp://ftp.gbnet.net/pub/qmail/ \
        ftp://ftp.iway.fr/pub/unix/mail/qmail/ \
        ftp://ftp.nl.uu.net/pub/unix/mail/qmail/ \
        ftp://ftp.archive.de.uu.net/pub/unix/mail/qmail/

MAINTAINER= c.petrik.sosa@gmail.com
COMMENT=    Easy-to-use, high-speed mailing list manager for qmail

USES=       qmail:run

USE_GCC=    any

CONFLICTS=  ezmlm-idx-*

ALL_TARGET= it

PROGRAMS=   ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
        ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
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
MAN5=       ezmlm.5
DOCS=       BLURB INSTALL README THANKS TODO

NO_STAGE=   yes
post-patch:
    @${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
    @${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
    @${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
    @${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
    @${ECHO_CMD} ${QMAIL_PREFIX} > ${WRKSRC}/conf-qmail

do-install:
    cd ${WRKSRC} && \
        ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
        ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \
        ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>