1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/mail/mmr/Makefile
Marcus von Appen a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: mmr
# Date created: 23 October 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= mmr
PORTVERSION= 1.6.0
CATEGORIES= mail
MASTER_SITES= http://www.sourcefiles.org/Internet/Mail/Clients/Console/ \
http://slouken.libsdl.org/projects/mmr/
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses based MIME Mail Reader
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv
MAKE_ARGS= LIBS='${LDFLAGS}' CXX='${CXX}' CXXFLAGS='${CXXFLAGS}'
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_SAFE= yes
PORTDOCS= BUGS CHANGES Features README TODO
PORTEXAMPLES= dot.mmrc.sample
PLIST_FILES= bin/mmr
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
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/DOT-mmrc ${EXAMPLESDIR}/dot.mmrc.sample
.endif
.include <bsd.port.mk>