aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mmr/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-07-11 06:04:32 +0800
committeritetcu <itetcu@FreeBSD.org>2006-07-11 06:04:32 +0800
commit163742d40f8cb6b4b65fe03f5f1c5a7fc082ccd2 (patch)
treecb675c916df7113246a1d4942f33a635959c92ae /mail/mmr/Makefile
parent255468287cc4fba1206804ab7c79a21a77af98d7 (diff)
downloadfreebsd-ports-gnome-163742d40f8cb6b4b65fe03f5f1c5a7fc082ccd2.tar.gz
freebsd-ports-gnome-163742d40f8cb6b4b65fe03f5f1c5a7fc082ccd2.tar.zst
freebsd-ports-gnome-163742d40f8cb6b4b65fe03f5f1c5a7fc082ccd2.zip
Update to version 1.6.0
PR: ports/100034 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'mail/mmr/Makefile')
-rw-r--r--mail/mmr/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/mail/mmr/Makefile b/mail/mmr/Makefile
index 44c7f1477ff6..86967dee3792 100644
--- a/mail/mmr/Makefile
+++ b/mail/mmr/Makefile
@@ -6,19 +6,29 @@
#
PORTNAME= mmr
-PORTVERSION= 1.5.5
+PORTVERSION= 1.6.0
CATEGORIES= mail
MASTER_SITES= http://www.devolution.com/~slouken/projects/mmr/
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses based MIME Mail Reader
-ALL_TARGET= # empty
-USE_GCC= 2.95
+USE_ICONV= yes
+MAKE_ARGS= LIBS='${LDFLAGS}' CXX='${CXX}' CXXFLAGS='${CXXFLAGS}'
+ALL_TARGET= ${PORTNAME}
PORTDOCS= BUGS CHANGES Features README TODO
-PLIST_FILES= bin/mmr ${EXAMPLESDIR:S,${PREFIX}/,,}/dot.mmrc.sample
-PLIST_DIRS= ${EXAMPLESDIR:S,${PREFIX}/,,}
+PLIST_FILES= bin/mmr %%EXAMPLESDIR%%/dot.mmrc.sample
+PLIST_DIRS= %%EXAMPLESDIR%%
+
+CXXFLAGS+= -DTHREADMAIL \
+ -DMAILPATH=\"/var/mail\" \
+ -DMAILER=\"/usr/sbin/sendmail\ -t\" \
+ -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -liconv -lcurses -lmd
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|md5/libmd5.a||g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mmr ${PREFIX}/bin