1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

mail/metamail: document and fix ncurses support

This commit is contained in:
John Marino 2016-08-23 14:49:46 +00:00
parent 60810677fb
commit b62a60c37e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420686
3 changed files with 27 additions and 3 deletions

View File

@ -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 Multipurpose Internet Mail Extensions
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>

View File

@ -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

View File

@ -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)