blob: 5848407fd0503b874a994374f1eb6f201b5d06d2 (
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
|
PORTNAME= procmail
DISTVERSIONPREFIX= v
DISTVERSION= 3.24
PORTREVISION= 1
CATEGORIES= mail
PKGNAMESUFFIX= -bgrb
MAINTAINER= cy@FreeBSD.org
COMMENT= BuGlessRB fork of the procmail local mail delivery agent
WWW= https://github.com/BuGlessRB/procmail
USE_GITHUB= yes
GH_ACCOUNT= BuGlessRB
CONFLICTS_INSTALL= procmail
LICENSE= GPLv2
LIB_DEPENDS= libnet.so:net/libnet
.if defined(QEMU_EMULATING) && "${QEMU_EMULATING}" == "1"
BROKEN= fails to build under qemu: killing runaway build after 21600 seconds with no output
.endif
OPTIONS_DEFINE= DOCS EXAMPLES
INSTALL_TARGET= install.bin install.man
USES= cpe
# EXTRA_PATCHES= ${FILESDIR}/procmail-3.22-getline.patch:-p1
PORTDOCS= FAQ FEATURES HISTORY KNOWN_BUGS README
PORTEXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
advanced dirname forward local_procmail_lmtp.m4 mailstat
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h ${WRKSRC}/src/autoconf
# Allow parallel builds (-jX) to work
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|'
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
|