svn commit: r420686 - in head/mail/metamail: . files

John Marino marino at FreeBSD.org
Tue Aug 23 14:49:47 UTC 2016


Author: marino
Date: Tue Aug 23 14:49:46 2016
New Revision: 420686
URL: https://svnweb.freebsd.org/changeset/ports/420686

Log:
  mail/metamail: document and fix ncurses support

Added:
  head/mail/metamail/files/patch-metamail_Makefile   (contents, props changed)
  head/mail/metamail/files/patch-richmail_Makefile   (contents, props changed)
Modified:
  head/mail/metamail/Makefile

Modified: head/mail/metamail/Makefile
==============================================================================
--- head/mail/metamail/Makefile	Tue Aug 23 14:43:27 2016	(r420685)
+++ head/mail/metamail/Makefile	Tue Aug 23 14:49:46 2016	(r420686)
@@ -3,7 +3,7 @@
 
 PORTNAME=	metamail
 PORTVERSION=	2.7
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	mail
 MASTER_SITES=	http://ftp.funet.fi/pub/unix/mail/metamail/ \
 		ftp://ftp.research.telcordia.com/pub/nsb/
@@ -14,7 +14,8 @@ COMMENT=	Implementation of MIME, the Mul
 
 LICENSE=	MIT
 
-USES=		tar:Z
+USES=		ncurses tar:Z
+MAKE_ARGS=	LDLIBS="${LDFLAGS}"
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 
@@ -32,6 +33,7 @@ post-patch-X11-off:
 	@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile
 
 post-install:
-	@${MV} ${STAGEDIR}${PREFIX}/etc/mailcap ${STAGEDIR}${PREFIX}/etc/mailcap.sample
+	${MV} ${STAGEDIR}${PREFIX}/etc/mailcap \
+		${STAGEDIR}${PREFIX}/etc/mailcap.sample
 
 .include <bsd.port.mk>

Added: head/mail/metamail/files/patch-metamail_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/metamail/files/patch-metamail_Makefile	Tue Aug 23 14:49:46 2016	(r420686)
@@ -0,0 +1,11 @@
+--- metamail/Makefile.orig	1993-08-01 21:04:53 UTC
++++ metamail/Makefile
+@@ -45,7 +45,7 @@ mmencode: mmencode.o codes.o
+ 
+ mailto: mailto.o codes.o shared.o
+ 	rm -f mailto
+-	$(CC) $(LOCALCFLAGS) -o mailto  mailto.o  codes.o shared.o -ltermcap $(LDLIBS)
++	$(CC) $(LOCALCFLAGS) -o mailto  mailto.o  codes.o shared.o -lncurses $(LDLIBS)
+ 
+ splitmail: splitmail.o shared.o
+ 	rm -f splitmail

Added: head/mail/metamail/files/patch-richmail_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/metamail/files/patch-richmail_Makefile	Tue Aug 23 14:49:46 2016	(r420686)
@@ -0,0 +1,11 @@
+--- richmail/Makefile.orig	1993-03-15 19:32:42 UTC
++++ richmail/Makefile
+@@ -34,7 +34,7 @@ RICHOBJS=richlex.o richset.o usascii.o i
+ all:  richtext richtoatk
+ 
+ richtext: richtext.o $(RICHOBJS)
+-	$(CC) ${LOCALCFLAGS} -o richtext richtext.o $(RICHOBJS) -ltermcap $(LDLIBS)
++	$(CC) ${LOCALCFLAGS} -o richtext richtext.o $(RICHOBJS) -lncurses $(LDLIBS)
+ 
+ richtoatk: richtoatk.o $(RICHOBJS)
+ 	$(CC) ${LOCALCFLAGS} -o richtoatk richtoatk.o $(RICHOBJS) $(LDLIBS)


More information about the svn-ports-all mailing list