mail/metamail: document and fix ncurses support
This commit is contained in:
parent
60810677fb
commit
b62a60c37e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420686
@ -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>
|
||||
|
11
mail/metamail/files/patch-metamail_Makefile
Normal file
11
mail/metamail/files/patch-metamail_Makefile
Normal 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
|
11
mail/metamail/files/patch-richmail_Makefile
Normal file
11
mail/metamail/files/patch-richmail_Makefile
Normal 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)
|
Loading…
Reference in New Issue
Block a user