Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 16:30:33 -0800
From:      Timothy Beyer <beyert@cs.ucr.edu>
To:        FreeBSD GNATS Submit <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        Timothy Beyer <beyert@cs.ucr.edu>
Subject:   ports/184378: update port: mail/fdm
Message-ID:  <87txeueno6.wl@fastmail.fm>
Resent-Message-ID: <201311300040.rAU0e11b012356@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184378
>Category:       ports
>Synopsis:       update port: mail/fdm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 30 00:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Timothy Beyer
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
no organization
>Environment:
System: FreeBSD hypercube.aeonnet 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct 1 00:41:23 PDT 2013 root@hypercube.aeonnet:/usr/obj/usr/src/sys/CUSTOM-9.2 amd64

>Description:

- update port to 1.7

- add support for LICENSE

>How-To-Repeat:

    Apply patch and build port

>Fix:

    The included patch

--- fdm.diff begins here ---
diff -urN fdm.orig/Makefile fdm/Makefile
--- fdm.orig/Makefile	2013-09-20 12:59:12.000000000 -0700
+++ fdm/Makefile	2013-11-29 16:24:29.000000000 -0800
@@ -2,14 +2,16 @@
 # $FreeBSD: mail/fdm/Makefile 327742 2013-09-20 19:59:12Z bapt $
 
 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
 
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/fdm.1
+
 LIB_DEPENDS=	pcre.3:${PORTSDIR}/devel/pcre \
 		tdb.1:${PORTSDIR}/databases/tdb
 
@@ -17,6 +19,7 @@
 PORTDOCS=	CHANGES README MANUAL
 PORTEXAMPLES=	n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf g-lando.conf
 MAKE_ARGS=	-DPCRE -DDB
+HAS_CONFIGURE=	yes
 
 MAN1=	fdm.1
 MAN5=	fdm.conf.5
@@ -29,6 +32,9 @@
 	@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
 		s|-I-||g;\
 		s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
+.if ${PORT_OPTIONS:MDOCS}
+	cd ${WRKSRC} && ${AWK} -f tools/makemanual.awk MANUAL.in > MANUAL
+.endif
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
diff -urN fdm.orig/distinfo fdm/distinfo
--- fdm.orig/distinfo	2012-07-14 06:54:48.000000000 -0700
+++ fdm/distinfo	2013-11-29 15:38:13.000000000 -0800
@@ -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
--- fdm.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87txeueno6.wl>