diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-02-03 19:15:38 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-02-03 19:15:38 +0000 |
commit | 82cd4fd94afc2f8acfabc67e41f957494f96d848 (patch) | |
tree | f3fdb55101f4e3c5d8250487a28c46c54118200e /mail/fdm | |
parent | ec76952f39fdcdddbe4bad9504708cd833280ea8 (diff) | |
download | ports-82cd4fd94afc2f8acfabc67e41f957494f96d848.tar.gz ports-82cd4fd94afc2f8acfabc67e41f957494f96d848.zip |
- Update to version 1.7, add LICENSE [1]
- Convert to new LIB_DEPENDS format
- Respect CFLAGS by disabling FDEBUG var in Makefile
- Support stage, unmute install commands
- Remove Author tag from pkg-descr
PR: ports/184378 [1]
Submitted by: Timothy Beyer <beyert@cs.ucr.edu>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=342466
Diffstat (limited to 'mail/fdm')
-rw-r--r-- | mail/fdm/Makefile | 34 | ||||
-rw-r--r-- | mail/fdm/distinfo | 4 | ||||
-rw-r--r-- | mail/fdm/pkg-descr | 1 |
3 files changed, 16 insertions, 23 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile index 437990e6a93d..7211a708a08c 100644 --- a/mail/fdm/Makefile +++ b/mail/fdm/Makefile @@ -2,42 +2,36 @@ # $FreeBSD$ PORTNAME= fdm -PORTVERSION= 1.6 -PORTREVISION= 2 +PORTVERSION= 1.7 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= chifeng@gmail.com COMMENT= Fetches and delivers mail -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre \ - tdb.1:${PORTSDIR}/databases/tdb +LICENSE= ISCL -PLIST_FILES= bin/fdm +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ + libtdb.so:${PORTSDIR}/databases/tdb + +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 MAKE_ARGS= -DPCRE -DDB - -MAN1= fdm.1 -MAN5= fdm.conf.5 - -NO_STAGE= yes -.include <bsd.port.options.mk> +HAS_CONFIGURE= yes post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15] @${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\ - s|-I-||g;\ + s|-I-||g; s|-g bin -o root||g; s|^FDEBUG|#&|;\ s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE} + cd ${WRKSRC} && ${AWK} -f tools/makemanual.awk MANUAL.in > MANUAL post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - @${INSTALL} -d ${EXAMPLESDIR}/ - @${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/ -.endif -.if ${PORT_OPTIONS:MDOCS} - @${INSTALL} -d ${DOCSDIR}/ - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/ -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \ + ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo index 49eeba2db93f..25cc7c20b52b 100644 --- a/mail/fdm/distinfo +++ b/mail/fdm/distinfo @@ -1,2 +1,2 @@ -SHA256 (fdm-1.6.tar.gz) = 7269a40a27378f49c0d3cc92b4229d1e066bba486ef9ff85caa2ec4cbcea3706 -SIZE (fdm-1.6.tar.gz) = 192159 +SHA256 (fdm-1.7.tar.gz) = 484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a +SIZE (fdm-1.7.tar.gz) = 199808 diff --git a/mail/fdm/pkg-descr b/mail/fdm/pkg-descr index 2891925e2f9e..71b1944f63e4 100644 --- a/mail/fdm/pkg-descr +++ b/mail/fdm/pkg-descr @@ -3,5 +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. -Author: Nicholas Marriott <nicm@users.sourceforge.net> WWW: http://fdm.sourceforge.net/ |