aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2017-02-23 09:32:47 +0800
committerwen <wen@FreeBSD.org>2017-02-23 09:32:47 +0800
commitc9efef424ccf7dc1449b0a007bd3739cd4f92df8 (patch)
tree51665bd218da214762a28d9384ea84fdaee4fc30 /mail
parentb56f4913ada42a00edd746b0d68fe2c0e83cb43a (diff)
downloadfreebsd-ports-gnome-c9efef424ccf7dc1449b0a007bd3739cd4f92df8.tar.gz
freebsd-ports-gnome-c9efef424ccf7dc1449b0a007bd3739cd4f92df8.tar.zst
freebsd-ports-gnome-c9efef424ccf7dc1449b0a007bd3739cd4f92df8.zip
- Update to 1.9
PR: 217301(based on) Submitted by: seschwar@gmail.com
Diffstat (limited to 'mail')
-rw-r--r--mail/fdm/Makefile30
-rw-r--r--mail/fdm/distinfo5
-rw-r--r--mail/fdm/pkg-descr2
3 files changed, 21 insertions, 16 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index 67bc19b056f4..0a892c753d18 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -2,33 +2,37 @@
# $FreeBSD$
PORTNAME= fdm
-PORTVERSION= 1.8
+PORTVERSION= 1.9
CATEGORIES= mail
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fetches and delivers mail
LICENSE= ISCL
-LIB_DEPENDS= libpcre.so:devel/pcre \
- libtdb.so:databases/tdb
+LIB_DEPENDS= libtdb.so:databases/tdb
-USES= ssl
-HAS_CONFIGURE= yes
-MAKE_ARGS= -DPCRE -DDB INSTALLBIN="${INSTALL_PROGRAM}"
+USE_GITHUB= yes
+GH_ACCOUNT= nicm
+GNU_CONFIGURE= yes
+USES= autoreconf:build ssl
PLIST_FILES= bin/fdm man/man1/fdm.1.gz man/man5/fdm.conf.5.gz
PORTDOCS= CHANGES README MANUAL
-PORTEXAMPLES= n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf g-lando.conf
+PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES PCRE
+OPTIONS_DEFAULT=PCRE
+
+PCRE_CFLAGS= -DPCRE
+PCRE_LIBS= -lpcre
+PCRE_LIB_DEPENDS=libpcre.so:devel/pcre
post-patch:
- @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
- @${REINPLACE_CMD} -e 's|/usr/local/include/openssl|${OPENSSLINC}|;\
- s|-I-||g; s|-g bin -o root||g; s|^FDEBUG|#&|;\
- s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[15]
+
+pre-configure:
+ @cd ${WRKSRC} && sh autogen.sh
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo
index 1ca0351e944e..89038ca1f430 100644
--- a/mail/fdm/distinfo
+++ b/mail/fdm/distinfo
@@ -1,2 +1,3 @@
-SHA256 (fdm-1.8.tar.gz) = 4f4c000d3e2cd11936c23c0d7a95da860743b7543790d5797268df18864b2342
-SIZE (fdm-1.8.tar.gz) = 193220
+TIMESTAMP = 1487810450
+SHA256 (nicm-fdm-1.9_GH0.tar.gz) = aaf6c66972449c0dbf5e21696fdfc538f2c78cc69af00b4d9979c39db58d3c57
+SIZE (nicm-fdm-1.9_GH0.tar.gz) = 175815
diff --git a/mail/fdm/pkg-descr b/mail/fdm/pkg-descr
index 71b1944f63e4..178073d39005 100644
--- a/mail/fdm/pkg-descr
+++ b/mail/fdm/pkg-descr
@@ -3,4 +3,4 @@ delivery programs such as fetchmail and procmail. It can currently
fetch using POP3, POP3S, IMAP or from stdin, and deliver to a pipe,
file, maildir, mbox or SMTP server, based on regexps.
-WWW: http://fdm.sourceforge.net/
+WWW: https://github.com/nicm/fdm/