1997-11-01 14:15:14 +00:00
|
|
|
# New ports collection makefile for: mmr
|
|
|
|
# Date created: 23 October 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1997-11-01 14:15:14 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= mmr
|
2006-07-10 22:04:32 +00:00
|
|
|
PORTVERSION= 1.6.0
|
2000-03-31 23:51:54 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.devolution.com/~slouken/projects/mmr/
|
1997-11-01 14:15:14 +00:00
|
|
|
|
2000-03-31 23:51:54 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Curses based MIME Mail Reader
|
1997-11-01 14:15:14 +00:00
|
|
|
|
2006-07-10 22:04:32 +00:00
|
|
|
USE_ICONV= yes
|
|
|
|
MAKE_ARGS= LIBS='${LDFLAGS}' CXX='${CXX}' CXXFLAGS='${CXXFLAGS}'
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
1998-10-12 19:24:09 +00:00
|
|
|
|
2004-09-27 18:14:56 +00:00
|
|
|
PORTDOCS= BUGS CHANGES Features README TODO
|
2006-07-10 22:04:32 +00:00
|
|
|
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
|
2004-08-16 02:47:09 +00:00
|
|
|
|
2000-03-31 23:51:54 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mmr ${PREFIX}/bin
|
2004-09-27 18:14:56 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/DOT-mmrc ${EXAMPLESDIR}/dot.mmrc.sample
|
1999-05-01 02:47:40 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-09-27 18:14:56 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
1999-05-01 02:47:40 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
1997-11-01 14:15:14 +00:00
|
|
|
|
2004-09-27 18:14:56 +00:00
|
|
|
.include <bsd.port.mk>
|