View | Details | Raw Unified | Return to bug 217301
Collapse All | Expand All

(-)Makefile (-12 / +12 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fdm
4
PORTNAME=	fdm
5
PORTVERSION=	1.8
5
PORTVERSION=	1.9
6
CATEGORIES=	mail
6
CATEGORIES=	mail
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	https://github.com/nicm/${PORTNAME}/releases/download/${PORTVERSION}/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Fetches and delivers mail
10
COMMENT=	Fetches and delivers mail
Lines 11-34 Link Here
11
11
12
LICENSE=	ISCL
12
LICENSE=	ISCL
13
13
14
LIB_DEPENDS=	libpcre.so:devel/pcre \
14
LIB_DEPENDS=	libtdb.so:databases/tdb
15
		libtdb.so:databases/tdb
16
15
16
GNU_CONFIGURE=	yes
17
USES=		ssl
17
USES=		ssl
18
HAS_CONFIGURE=	yes
19
MAKE_ARGS=	-DPCRE -DDB INSTALLBIN="${INSTALL_PROGRAM}"
20
18
21
PLIST_FILES=	bin/fdm man/man1/fdm.1.gz man/man5/fdm.conf.5.gz
19
PLIST_FILES=	bin/fdm man/man1/fdm.1.gz man/man5/fdm.conf.5.gz
22
PORTDOCS=	CHANGES README MANUAL
20
PORTDOCS=	CHANGES README MANUAL
23
PORTEXAMPLES=	n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf g-lando.conf
21
PORTEXAMPLES=	*
24
22
25
OPTIONS_DEFINE=	DOCS EXAMPLES
23
OPTIONS_DEFINE=	DOCS EXAMPLES PCRE
24
OPTIONS_DEFAULT=PCRE
26
25
26
PCRE_CFLAGS=	-DPCRE
27
PCRE_LIBS=	-lpcre
28
PCRE_LIB_DEPENDS=libpcre.so:devel/pcre
29
27
post-patch:
30
post-patch:
28
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
31
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[15]
29
	@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|${OPENSSLINC}|;\
30
		s|-I-||g; s|-g bin -o root||g; s|^FDEBUG|#&|;\
31
		s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
32
32
33
post-install-EXAMPLES-on:
33
post-install-EXAMPLES-on:
34
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
34
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (fdm-1.8.tar.gz) = 4f4c000d3e2cd11936c23c0d7a95da860743b7543790d5797268df18864b2342
1
TIMESTAMP = 1487521412
2
SIZE (fdm-1.8.tar.gz) = 193220
2
SHA256 (fdm-1.9.tar.gz) = 16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914
3
SIZE (fdm-1.9.tar.gz) = 299916
(-)pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
fetch using POP3, POP3S, IMAP or from stdin, and deliver to a pipe,
3
fetch using POP3, POP3S, IMAP or from stdin, and deliver to a pipe,
4
file, maildir, mbox or SMTP server, based on regexps.
4
file, maildir, mbox or SMTP server, based on regexps.
5
5
6
WWW: http://fdm.sourceforge.net/
6
WWW: https://github.com/nicm/fdm/

Return to bug 217301